]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Fix condition to check tt1_030 for CACHE_DISABLE_MMU
authorAdam Polkosnik [fun] <apolkosnik@gmail.com>
Fri, 27 Feb 2026 03:42:19 +0000 (22:42 -0500)
committerGitHub <noreply@github.com>
Fri, 27 Feb 2026 03:42:19 +0000 (22:42 -0500)
It looks like a copy&paste error from the same check for tt0

cpummu30.cpp

index a1450c307b7bd145d48ad259d722c768d202fa72..5f613e7767de41d12b5a320db005d4da3702ad4d 100644 (file)
@@ -731,7 +731,7 @@ static int mmu030_match_ttr(uaecptr addr, uae_u32 fc, bool write)
        }
     tt1 = mmu030_do_match_ttr(tt1_030, mmu030.transparent.tt1, addr, fc, write);
     if (tt1&TT_OK_MATCH) {
-               if (tt0_030&TT_CI)
+               if (tt1_030&TT_CI)
                mmu030_cache_state = CACHE_DISABLE_MMU;
     }