This commit is contained in:
Ced2911 2013-08-11 12:58:26 +02:00
parent f9429177b9
commit 5f05b0b112
2 changed files with 5 additions and 2 deletions

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);

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);
}