mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 04:08:37 +01:00
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:
1 parent
c57e5b081d
commit
db2eddcf27
5 files changed
+1
-20
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user