GE Debugger: Cleanup logspam on game exit.

If you're stopped on a frame and quit, it was previously logging every
command as it exited, thinking it was waiting on each.
This commit is contained in:
Unknown W. Brackets committed 2022-12-01 23:12:14 -08:00
1 parent 7f65ba115b
commit d7224a8401
1 file changed
+5
+5
View File
@@ -134,6 +134,11 @@ bool NotifyCommand(u32 pc) {
if (IsBreakpoint(pc, op)) {
GPUBreakpoints::ClearTempBreakpoints();
if (coreState == CORE_POWERDOWN || !gpuDebug) {
breakNext = BreakNext::NONE;
return process;
}
auto info = gpuDebug->DissassembleOp(pc);
if (lastStepTime >= 0.0) {
NOTICE_LOG(G3D, "Waiting at %08x, %s (%fms)", pc, info.desc.c_str(), (time_now_d() - lastStepTime) * 1000.0);