[Project64] Make sure memory_breakpoint_found is cleared in CX86RecompilerOps::FoundMemoryBreakpoint

This commit is contained in:
zilmar 2018-04-14 20:11:02 +10:00
parent f48995a1e1
commit fafb7c207a
1 changed files with 1 additions and 0 deletions

View File

@ -9067,6 +9067,7 @@ void CX86RecompilerOps::FoundMemoryBreakpoint()
ClearCachedInstructionInfo();
MoveConstToVariable((m_NextInstruction == JUMP || m_NextInstruction == DELAY_SLOT) ? 1 : 0, &memory_write_in_delayslot, "memory_write_in_delayslot");
Call_Direct((void *)x86MemoryBreakpoint, "x86MemoryBreakpoint");
MoveConstToVariable(0, &memory_breakpoint_found, "memory_breakpoint_found");
ExitCodeBlock();
m_NextInstruction = END_BLOCK;
}