]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Fix data cache uae boot rom mode check.
authorToni Wilen <twilen@winuae.net>
Wed, 16 Aug 2017 07:35:29 +0000 (10:35 +0300)
committerToni Wilen <twilen@winuae.net>
Wed, 16 Aug 2017 07:35:29 +0000 (10:35 +0300)
main.cpp

index 5e3325c0f4ce8700ff6ddac5e8dda7e1e0dd1201..bcf2575dcd4a65893b867ad0837495bec49fb9a3 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -328,7 +328,7 @@ void fixup_cpu (struct uae_prefs *p)
                p->cpu_data_cache = false;
                error_log(_T("Data cache emulation requires More compatible, is not JIT compatible, 68030+ only."));
        }
-       if (p->cpu_data_cache && (currprefs.uaeboard != 3 && uae_boot_rom_type > 0)) {
+       if (p->cpu_data_cache && (p->uaeboard != 3 && need_uae_boot_rom(p))) {
                p->cpu_data_cache = false;
                error_log(_T("Data cache emulation requires Indirect UAE Boot ROM."));
        }