mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 05:26:24 +02:00
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:
1 parent
7f65ba115b
commit
d7224a8401
1 file changed
+5
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user