VU: Initial work to overhaul VU interpreter

Still a bit janky in some games and subject to changes
This commit is contained in:
refractionpcsx2
2021-09-03 00:04:55 +01:00
parent 253571fd35
commit 067faccdd2
8 changed files with 534 additions and 302 deletions

View File

@@ -44,6 +44,8 @@ void __fastcall vu0ExecMicro(u32 addr) {
// Need to copy the clip flag back to the interpreter in case COP2 has edited it
VU0.clipflag = VU0.VI[REG_CLIP_FLAG].UL;
VU0.macflag = VU0.VI[REG_MAC_FLAG].UL;
VU0.statusflag = VU0.VI[REG_STATUS_FLAG].UL;
VU0.VI[REG_VPU_STAT].UL &= ~0xFF;
VU0.VI[REG_VPU_STAT].UL |= 0x01;
VU0.cycle = cpuRegs.cycle;