]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
C TRY/STOPTRY fix
authorToni Wilen <twilen@winuae.net>
Fri, 15 Apr 2022 18:23:06 +0000 (21:23 +0300)
committerToni Wilen <twilen@winuae.net>
Fri, 15 Apr 2022 18:23:06 +0000 (21:23 +0300)
newcpu.cpp

index aedfef5ad4589e954486f391fc36b220340267f4..ab30081a9313ebd5fd79570b9acb88c4073eead5 100644 (file)
@@ -5343,6 +5343,7 @@ static void m68k_run_jit(void)
                                check_uae_int_request();
                                if (regs.spcflags) {
                                        if (do_specialties(0)) {
+                                               STOPTRY;
                                                return;
                                        }
                                }
@@ -5485,8 +5486,10 @@ static void m68k_run_mmu060 (void)
                                regs.instruction_cnt++;
 
                                if (regs.spcflags) {
-                                       if (do_specialties (cpu_cycles))
+                                       if (do_specialties(cpu_cycles)) {
+                                               STOPTRY;
                                                return;
+                                       }
                                }
                        }
                } CATCH (prb) {