]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Fix stuck fps counter when any debugger breakpoint is active
authorToni Wilen <twilen@winuae.net>
Mon, 3 Nov 2025 17:07:15 +0000 (19:07 +0200)
committerToni Wilen <twilen@winuae.net>
Mon, 3 Nov 2025 17:07:15 +0000 (19:07 +0200)
debug.cpp

index 80796f32932c6ed1bda69bd25c35f700c4e1b813..b511464b65cce5beaa620be89d3f66d623168b1d 100644 (file)
--- a/debug.cpp
+++ b/debug.cpp
@@ -7656,7 +7656,6 @@ void debug (void)
        if (savestate_state || quit_program)
                return;
 
-       bogusframe = 1;
        disasm_init();
        addhistory ();
 
@@ -7891,6 +7890,7 @@ void debug (void)
        last_vpos1 = vpos;
        last_hpos1 = current_hpos();
        last_frame = timeframes;
+       bogusframe = 1;
 }
 
 const TCHAR *debuginfo (int mode)