[Debugger] Handle breakpoint in delay slot of recompiler

This commit is contained in:
zilmar 2018-03-02 19:02:23 +11:00
parent e1c464e309
commit 6bc5ce0439
1 changed files with 3 additions and 1 deletions

View File

@ -96,7 +96,9 @@ static void x86MemoryBreakpoint()
memory_breakpoint_found = 1; memory_breakpoint_found = 1;
if (memory_write_in_delayslot) if (memory_write_in_delayslot)
{ {
g_Notify->BreakPoint(__FILE__, __LINE__); g_Reg->m_PROGRAM_COUNTER -= 4;
*g_NextTimer += g_System->CountPerOp();
CInterpreterCPU::ExecuteOps(g_System->CountPerOp());
} }
x86_compiler_Break_Point(); x86_compiler_Break_Point();
} }