From fafb7c207a3d5dd6637e60749668e69c2e335d43 Mon Sep 17 00:00:00 2001 From: zilmar Date: Sat, 14 Apr 2018 20:11:02 +1000 Subject: [PATCH] [Project64] Make sure memory_breakpoint_found is cleared in CX86RecompilerOps::FoundMemoryBreakpoint --- .../Project64-core/N64System/Recompiler/x86/x86RecompilerOps.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Project64-core/N64System/Recompiler/x86/x86RecompilerOps.cpp b/Source/Project64-core/N64System/Recompiler/x86/x86RecompilerOps.cpp index 2bdc4f5b8..764f9d012 100644 --- a/Source/Project64-core/N64System/Recompiler/x86/x86RecompilerOps.cpp +++ b/Source/Project64-core/N64System/Recompiler/x86/x86RecompilerOps.cpp @@ -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; }