From: Toni Wilen Date: Tue, 15 May 2018 17:15:00 +0000 (+0300) Subject: Fix 68030 MMU PLOAD R. X-Git-Tag: 4000~61 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=ed40c88db0c1c97efcd548fa449811517e717aac;p=francis%2Fwinuae.git Fix 68030 MMU PLOAD R. --- diff --git a/cpummu30.cpp b/cpummu30.cpp index d02c18ff..85e6eda3 100644 --- a/cpummu30.cpp +++ b/cpummu30.cpp @@ -518,7 +518,8 @@ bool mmu_op30_pflush (uaecptr pc, uae_u32 opcode, uae_u16 next, uaecptr extra) #endif switch (mode) { - case 0x00: + case 0x00: // PLOAD W + case 0x02: // PLOAD R return mmu_op30_pload(pc, opcode, next, extra); case 0x04: if (fc_bits) @@ -534,7 +535,7 @@ bool mmu_op30_pflush (uaecptr pc, uae_u32 opcode, uae_u16 next, uaecptr extra) mmu030_flush_atc_page_fc(extra, fc_base, fc_mask); break; default: - write_log(_T("PFLUSH ERROR: bad mode! (%i)\n"),mode); + write_log(_T("PFLUSH %04x-%04x ERROR: bad mode! (%i)\n"), opcode, next, mode); return true; } return false; @@ -554,7 +555,7 @@ uae_u32 mmu_op30_helper_get_fc(uae_u16 next) { return (regs.sfc); } default: - write_log(_T("MMU_OP30 ERROR: bad fc source! (%04X)\n"),next&0x0018); + write_log(_T("MMU_OP30 ERROR: bad fc source! (%04X)\n"), next&0x0018); return 0; } }