]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Fix MMU translation cache type
authorWaccoon <105848526+Waccoon@users.noreply.github.com>
Wed, 4 Mar 2026 11:55:48 +0000 (06:55 -0500)
committerGitHub <noreply@github.com>
Wed, 4 Mar 2026 11:55:48 +0000 (06:55 -0500)
Change MMU page cache type from instruction to data.  Bug does not present itself unless fast cache (MMU_DPAGECACHE) is disabled (default enabled).

newcpu.cpp

index 83a4899b7f2973feef26441d50b68f3204bb398c..a7e3997b3bc07be386ae16ead1cd41487a81beb3 100644 (file)
@@ -8904,7 +8904,7 @@ static void dcache030_maybe_burst(uaecptr addr, struct cache030 *c, int lws)
        if (c->valid[0] + c->valid[1] + c->valid[2] + c->valid[3] == 1) {
                uaecptr physaddr = addr;
                if (currprefs.mmu_model) {
-                       physaddr = mmu030_translate(addr, regs.s != 0, false, false);
+                       physaddr = mmu030_translate(addr, regs.s != 0, true, false);
                }
 
                if (ce_banktype[physaddr >> 16] == CE_MEMBANK_FAST32) {