microVU: Removed the "Exiting from Possible Infinite Loop" logic from Release builds, should be a small speedup.

Its still there in debug/devel builds, so we can easily tell if a game is hanging on VU1.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@1606 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
cottonvibes 2009-08-05 08:49:25 +00:00
parent 3f2f8571df
commit 5025b3886e
1 changed files with 9 additions and 7 deletions

View File

@ -359,13 +359,15 @@ microVUt(void) mVUtestCycles(mV) {
iPC = mVUstartPC;
mVUdebugNOW(0);
SUB32ItoM((uptr)&mVU->cycles, mVUcycles);
u32* jmp32 = JG32(0);
MOV32ItoR(gprT2, xPC);
if (isVU1) CALLFunc((uptr)mVUwarning1);
//else CALLFunc((uptr)mVUwarning0); // VU0 is allowed early exit for COP2 Interlock Simulation
MOV32ItoR(gprR, Roffset); // Restore gprR
mVUendProgram(mVU, 0, NULL, NULL, NULL);
x86SetJ32(jmp32);
if (IsDevBuild || !isVU1) {
u32* jmp32 = JG32(0);
MOV32ItoR(gprT2, xPC);
if (isVU1) CALLFunc((uptr)mVUwarning1);
//else CALLFunc((uptr)mVUwarning0); // VU0 is allowed early exit for COP2 Interlock Simulation
MOV32ItoR(gprR, Roffset); // Restore gprR
mVUendProgram(mVU, 0, NULL, NULL, NULL);
x86SetJ32(jmp32);
}
}
microVUt(void) mVUinitConstValues(mV) {