From 9e6fac5faa1526000aea9441a88949b1ac5e74e6 Mon Sep 17 00:00:00 2001 From: Kingcom Date: Wed, 20 Aug 2014 17:01:40 +0200 Subject: [PATCH] Fix recompiler breakpoint flushing logic --- pcsx2/x86/ix86-32/iR5900-32.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pcsx2/x86/ix86-32/iR5900-32.cpp b/pcsx2/x86/ix86-32/iR5900-32.cpp index 50f9cd462d..7accafec47 100644 --- a/pcsx2/x86/ix86-32/iR5900-32.cpp +++ b/pcsx2/x86/ix86-32/iR5900-32.cpp @@ -1289,7 +1289,6 @@ void dynarecMemcheck() if (CBreakPoints::CheckSkipFirst(pc) != 0) return; - iFlushCall(FLUSH_INTERPRETER); CBreakPoints::SetBreakpointTriggered(true); GetCoreThread().PauseSelf(); recExitExecution(); @@ -1305,7 +1304,7 @@ void __fastcall dynarecMemLogcheck(u32 start, bool store) void recMemcheck(u32 op, u32 bits, bool store) { - iFlushCall(FLUSH_INTERPRETER); + iFlushCall(FLUSH_EVERYTHING|FLUSH_PC); // compute accessed address _eeMoveGPRtoR(ECX, (op >> 21) & 0x1F); @@ -1458,7 +1457,7 @@ void encodeBreakpoint() { if (isBreakpointNeeded(pc) != 0) { - iFlushCall(FLUSH_EVERYTHING); + iFlushCall(FLUSH_EVERYTHING|FLUSH_PC); xCALL(&dynarecCheckBreakpoint); } }