From 8b9fc60af256a12989bc655e6f8c87af98c5b0a5 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Fri, 15 Apr 2022 21:23:06 +0300 Subject: [PATCH] C TRY/STOPTRY fix --- newcpu.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/newcpu.cpp b/newcpu.cpp index aedfef5a..ab30081a 100644 --- a/newcpu.cpp +++ b/newcpu.cpp @@ -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) { -- 2.47.3