Debugger: Remove double debug window updates.

Core_EnableStepping() is already marking the debug windows for update,
there's no need to call SetDebugMode() again.
This commit is contained in:
Unknown W. Brackets 2021-12-12 11:18:18 -08:00
parent c57e5b081d
commit db2eddcf27
5 changed files with 1 additions and 20 deletions

View file

@ -69,7 +69,6 @@ BreakAction MemCheck::Action(u32 addr, bool write, int size, u32 pc, const char
Log(addr, write, size, pc, reason);
if ((result & BREAK_ACTION_PAUSE) && coreState != CORE_POWERUP) {
Core_EnableStepping(true, "memory.breakpoint", start);
host->SetDebugMode(true);
}
return result;
@ -125,8 +124,6 @@ void MemCheck::JitCleanup(bool changed)
CBreakPoints::SetSkipFirst(lastPC);
Core_EnableStepping(false);
}
else
host->SetDebugMode(true);
}
// Note: must lock while calling this.
@ -368,7 +365,6 @@ BreakAction CBreakPoints::ExecBreakPoint(u32 addr) {
}
if ((info.result & BREAK_ACTION_PAUSE) && coreState != CORE_POWERUP) {
Core_EnableStepping(true, "cpu.breakpoint", info.addr);
host->SetDebugMode(true);
}
return info.result;