From: Toni Wilen Date: Sun, 9 Jul 2023 17:25:02 +0000 (+0300) Subject: Check interrupt level immediately always if not JIT X-Git-Tag: 5.1.0~161 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=b9e2f7f8f5dbc9dfa3a2ce2f3546ee4d66245672;p=francis%2Fwinuae.git Check interrupt level immediately always if not JIT --- 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);