diff --git a/core/hw/sh4/modules/mmu.cpp b/core/hw/sh4/modules/mmu.cpp index 49aa9ceeb..bda465e3e 100644 --- a/core/hw/sh4/modules/mmu.cpp +++ b/core/hw/sh4/modules/mmu.cpp @@ -467,7 +467,13 @@ retry_ITLB_Match: if (entry == 4) { - verify(mmach == false); +#ifndef FAST_MMU + verify(!mmach); +#else + // the matching may be approximative + if (mmach) + return MMU_ERROR_TLB_MISS; +#endif const TLB_Entry *tlb_entry; u32 lookup = mmu_full_lookup(va, &tlb_entry, rv);