diff --git a/pcsx2/x86/microVU.h b/pcsx2/x86/microVU.h index f29f200b2..55c773c78 100644 --- a/pcsx2/x86/microVU.h +++ b/pcsx2/x86/microVU.h @@ -109,9 +109,8 @@ struct microVU { u32 branch; // Holds branch compare result (IBxx) OR Holds address to Jump to (JALR/JR) u32 p; // Holds current P instance index u32 q; // Holds current Q instance index - u32 espBackup; // Temp Backup for ESP - u32 totalCycles; - u32 cycles; + u32 totalCycles; // Total Cycles that mVU is expected to run for + u32 cycles; // Cycles Counter PCSX2_ALIGNED16(u32 macFlag[4]); // 4 instances of mac flag (used in execution) PCSX2_ALIGNED16(u32 clipFlag[4]); // 4 instances of clip flag (used in execution) diff --git a/pcsx2/x86/microVU_Lower.inl b/pcsx2/x86/microVU_Lower.inl index 9919bb83b..c874cdebe 100644 --- a/pcsx2/x86/microVU_Lower.inl +++ b/pcsx2/x86/microVU_Lower.inl @@ -1225,10 +1225,9 @@ microVUf(void) mVU_IBNE() { microVUf(void) mVU_JR() { microVU* mVU = mVUx; mVUbranch = 9; - pass1 { mVUanalyzeBranch1(_Is_); } + pass1 { analyzeVIreg1(_Is_); } pass2 { - if (memReadIs) MOV32MtoR(gprT1, (uptr)&mVU->VIbackup[0]); - else mVUallocVIa(gprT1, _Is_); + mVUallocVIa(gprT1, _Is_); SHL32ItoR(gprT1, 3); AND32ItoR(gprT1, vuIndex ? 0x3ff8 : 0xff8); MOV32RtoM((uptr)&mVU->branch, gprT1); @@ -1239,10 +1238,9 @@ microVUf(void) mVU_JR() { microVUf(void) mVU_JALR() { microVU* mVU = mVUx; mVUbranch = 10; - pass1 { mVUanalyzeBranch1(_Is_); analyzeVIreg2(_It_, 1); } + pass1 { analyzeVIreg1(_Is_); analyzeVIreg2(_It_, 1); } pass2 { - if (memReadIs) MOV32MtoR(gprT1, (uptr)&mVU->VIbackup[0]); - else mVUallocVIa(gprT1, _Is_); + mVUallocVIa(gprT1, _Is_); SHL32ItoR(gprT1, 3); AND32ItoR(gprT1, vuIndex ? 0x3ff8 : 0xff8); MOV32RtoM((uptr)&mVU->branch, gprT1);