This commit is contained in:
Ced2911 committed 2013-08-16 14:46:57 +02:00
1 parent f9429177b9
commit 5f05b0b112
2 files changed
+5 -2

No files matched your search

+2 -2
View File
@@ -52,7 +52,7 @@ const u8 *Jit::DoJit(u32 em_address, JitBlock *b)
//Break();
// Cmp ??
CMPLI(DCNTREG, 0);
CMPI(DCNTREG, 0);
BLT((const void *)outerLoopPCInR0);
// if (currentMIPS->downcount<0)
//BGT((const void *)outerLoopPCInR0);
@@ -313,7 +313,7 @@ void Jit::GenerateFixedCode() {
FixupBranch badcpustates = BNE();
//BEQ(outerLoop);
CMPLI(DCNTREG, 0);
CMPI(DCNTREG, 0);
BLT(outerLoop);
SetJumpTarget(badcpustates);
+3
View File
@@ -91,6 +91,9 @@ void Jit::RestoreDowncount(PPCReg r) {
}
static void ShowDownCount() {
if (0xfffffffa == currentMIPS->downcount) {
DebugBreak();
}
ERROR_LOG(DYNA_REC, "MIPSState, downcount %08x", currentMIPS->downcount);
}