]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
68060 FPU was not marked as disabled if EC model.
authorToni Wilen <twilen@winuae.net>
Thu, 24 Oct 2019 15:52:46 +0000 (18:52 +0300)
committerToni Wilen <twilen@winuae.net>
Thu, 24 Oct 2019 15:52:46 +0000 (18:52 +0300)
newcpu.cpp

index 1cb56e243a2fe94213bb262148cd147f3fbfdcf0..1365e6611fea31478634368fb6d114bf64a1d685 100644 (file)
@@ -3111,6 +3111,9 @@ static void maybe_disable_fpu(void)
                // disable FPU at reset if no 68060 accelerator board and no $f0 ROM.
                regs.pcr |= 2;
        }
+       if (!currprefs.fpu_model) {
+               regs.pcr |= 2;
+       }
 }
 
 static void m68k_reset_sr(void)