]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Check interrupt level immediately always if not JIT
authorToni Wilen <twilen@winuae.net>
Sun, 9 Jul 2023 17:25:02 +0000 (20:25 +0300)
committerToni Wilen <twilen@winuae.net>
Sun, 9 Jul 2023 17:25:02 +0000 (20:25 +0300)
newcpu.cpp

index ca4faccf153a9a26429cb18b16f661f733fee10a..76df8fe31c16f87f4e842136bd5c5663825bd142 100644 (file)
@@ -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);