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 committed 2021-12-12 11:24:03 -08:00
1 parent c57e5b081d
commit db2eddcf27
5 files changed
+1 -20

No files matched your search

-4
View File
@@ -447,7 +447,6 @@ void Core_MemoryException(u32 address, u32 pc, MemoryExceptionType type) {
e.address = address;
e.pc = pc;
Core_EnableStepping(true, "memory.exception", address);
host->SetDebugMode(true);
}
}
@@ -469,7 +468,6 @@ void Core_MemoryExceptionInfo(u32 address, u32 pc, MemoryExceptionType type, std
e.address = address;
e.pc = pc;
Core_EnableStepping(true, "memory.exception", address);
host->SetDebugMode(true);
}
}
@@ -485,7 +483,6 @@ void Core_ExecException(u32 address, u32 pc, ExecExceptionType type) {
e.address = address;
e.pc = pc;
Core_EnableStepping(true, "cpu.exception", pc);
host->SetDebugMode(true);
}
void Core_Break() {
@@ -498,7 +495,6 @@ void Core_Break() {
if (!g_Config.bIgnoreBadMemAccess) {
Core_EnableStepping(true, "cpu.breakInstruction", currentMIPS->pc);
host->SetDebugMode(true);
}
}