]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Check also statefile restore state when in no sync state
authorToni Wilen <twilen@winuae.net>
Sat, 1 Nov 2025 13:51:16 +0000 (15:51 +0200)
committerToni Wilen <twilen@winuae.net>
Sat, 1 Nov 2025 13:51:16 +0000 (15:51 +0200)
custom.cpp

index b2b8ca9f8955e0c501f64102a8f1d376fbe60363..fdeffc47de90c92e090675fc1bedc422040f991d 100644 (file)
@@ -11277,6 +11277,9 @@ static void vsync_nosync(void)
        vsync_display_rendered = false;
        virtual_vsync_check();
        uae_quit_check();
+       if (savestate_check()) {
+               uae_reset(0, 0);
+       }
 }
 
 static void custom_trigger_start_nosync(void)