Merge pull request #263 from Kingcom/Recompiler

Fix recompiler breakpoint flushing logic (debugger related)
This commit is contained in:
ramapcsx2 2014-08-25 15:33:39 +02:00
commit d694a3a166
1 changed files with 2 additions and 3 deletions

View File

@ -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);
@ -1401,7 +1400,7 @@ void encodeBreakpoint()
{
if (isBreakpointNeeded(pc) != 0)
{
iFlushCall(FLUSH_EVERYTHING);
iFlushCall(FLUSH_EVERYTHING|FLUSH_PC);
xCALL(&dynarecCheckBreakpoint);
}
}