Merge pull request #10446 from unknownbrackets/ir-break

irjit: Allow continuing from mips break
This commit is contained in:
Henrik Rydgård 2017-12-25 22:38:35 +01:00 committed by GitHub
commit baa4ceadd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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