Permalink
Browse files

irjit: Allow continuing from mips break.

Some games currently generate break instructions, and can be played
otherwise.  Should be fixed, but let's not hard crash.
  • Loading branch information...
unknownbrackets committed Dec 25, 2017
1 parent 9b909b4 commit 8c2edd432bb28bbea390dfe16e7db1ae1d4f34d2
Showing with 5 additions and 2 deletions.
  1. +5 −2 Core/MIPS/IR/IRInterpreter.cpp
@@ -789,8 +789,11 @@ u32 IRInterpret(MIPSState *mips, const IRInst *inst, const u32 *constPool, int c
}
case IROp::Break:
Crash();
break;
if (!g_Config.bIgnoreBadMemAccess) {
Core_EnableStepping(true);
host->SetDebugMode(true);
}
return mips->pc + 4;
case IROp::SetCtrlVFPU:
mips->vfpuCtrl[inst->dest] = constPool[inst->src1];

0 comments on commit 8c2edd4

Please sign in to comment.