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.
This commit is contained in:
Unknown W. Brackets committed 2017-12-25 10:21:22 -08:00
1 parent 9b909b4158
commit 8c2edd432b
1 file changed
+5 -2
+5 -2
View File
@@ -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];