mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
fix blt
This commit is contained in:
parent
f9429177b9
commit
5f05b0b112
2 changed files with 5 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue