From b9e2f7f8f5dbc9dfa3a2ce2f3546ee4d66245672 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sun, 9 Jul 2023 20:25:02 +0300 Subject: [PATCH] Check interrupt level immediately always if not JIT --- newcpu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/newcpu.cpp b/newcpu.cpp index ca4faccf..76df8fe3 100644 --- a/newcpu.cpp +++ b/newcpu.cpp @@ -2441,7 +2441,7 @@ static void MakeFromSR_x(int t0trace) } } else { if (regs.ipl_pin <= regs.intmask && regs.ipl_pin > newimask) { - if (currprefs.cpu_compatible && currprefs.cpu_model < 68020) { + if (!currprefs.cachesize) { set_special(SPCFLAG_INT); } else { set_special(SPCFLAG_DOINT); @@ -4583,7 +4583,7 @@ void doint(void) } if (regs.ipl_pin > regs.intmask || currprefs.cachesize) { - if (currprefs.cpu_compatible && currprefs.cpu_model < 68020) + if (!currprefs.cachesize) set_special(SPCFLAG_INT); else set_special(SPCFLAG_DOINT); -- 2.47.3