From 75f0a21af56af8a0cd6d32158b43c359a62fd036 Mon Sep 17 00:00:00 2001 From: Sven Schnelle Date: Mon, 8 Oct 2018 14:41:03 +0200 Subject: m68k: fix typo in SRP type check (nw) We should compare the *srp* instead of the crp. --- src/devices/cpu/m68000/m68kmmu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/cpu/m68000/m68kmmu.h b/src/devices/cpu/m68000/m68kmmu.h index 2d9270d5615..c22706d5ce2 100644 --- a/src/devices/cpu/m68000/m68kmmu.h +++ b/src/devices/cpu/m68000/m68kmmu.h @@ -1057,8 +1057,8 @@ void m68881_mmu_ops() m_mmu_srp_limit = (temp64>>32) & 0xffffffff; m_mmu_srp_aptr = temp64 & 0xffffffff; // printf("PMMU: SRP limit = %08x aptr = %08x\n", m_mmu_srp_limit, m_mmu_srp_aptr); - // CRP type 0 is not allowed - if ((m_mmu_crp_limit & 3) == 0) { + // SRP type 0 is not allowed + if ((m_mmu_srp_limit & 3) == 0) { m68ki_exception_trap(EXCEPTION_MMU_CONFIGURATION); return; } -- cgit v1.2.3