From: Toni Wilen Date: Sun, 8 Apr 2018 10:39:24 +0000 (+0300) Subject: Fix 68060 cache mask. X-Git-Tag: 4000~135 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=370f9aaca4c208a42b2e504e398ffd369a8c6397;p=francis%2Fwinuae.git Fix 68060 cache mask. --- diff --git a/newcpu.cpp b/newcpu.cpp index c1c739f6..d7044b9f 100644 --- a/newcpu.cpp +++ b/newcpu.cpp @@ -10429,7 +10429,7 @@ static uae_u32 read_dcache040(uae_u32 addr, int size, uae_u32 (*fetch)(uaecptr)) } // Cache miss // 040+ always caches whole line - if ((cs & CACHE_DISABLE_MMU) || !(cs & CACHE_ENABLE_DATA) || (cs & CACHE_DISABLE_ALLOCATE) || (regs.cacr & 0x400000000)) { + if ((cs & CACHE_DISABLE_MMU) || !(cs & CACHE_ENABLE_DATA) || (cs & CACHE_DISABLE_ALLOCATE) || (regs.cacr & 0x40000000)) { nocache: return fetch(addr_o); }