From: Toni Wilen Date: Sun, 19 Feb 2023 15:57:24 +0000 (+0200) Subject: On the fly mode change reset fix X-Git-Tag: 5.0.0~139 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=8ae454d84e2d6d06a5d65d94601c8401498eb1bb;p=francis%2Fwinuae.git On the fly mode change reset fix --- diff --git a/newcpu.cpp b/newcpu.cpp index 7524b9cd..968c24c5 100644 --- a/newcpu.cpp +++ b/newcpu.cpp @@ -6626,6 +6626,12 @@ void m68k_go (int may_quit) } #endif run_func(); + + if (quit_program < 0) { + quit_program = -quit_program; + } + if (quit_program == UAE_QUIT) + break; } protect_roms(false); mman_set_barriers(true);