From 11ed60b529997922e71fc16ec5cc9fe58dc044b0 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Mon, 17 Mar 2025 18:39:56 +0200 Subject: [PATCH] Check spcflags first, it might be mode change. --- newcpu.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/newcpu.cpp b/newcpu.cpp index a9d3beb1..3f7286f3 100644 --- a/newcpu.cpp +++ b/newcpu.cpp @@ -5549,6 +5549,12 @@ static void m68k_run_jit(void) } #endif + if (regs.spcflags) { + if (do_specialties(0)) { + return; + } + } + for (;;) { #ifdef USE_STRUCTURED_EXCEPTION_HANDLING __try { -- 2.47.3