]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Fix 68030 MMU PLOAD R.
authorToni Wilen <twilen@winuae.net>
Tue, 15 May 2018 17:15:00 +0000 (20:15 +0300)
committerToni Wilen <twilen@winuae.net>
Tue, 15 May 2018 17:15:00 +0000 (20:15 +0300)
cpummu30.cpp

index d02c18ff19d76c677b660b9362f6ec8978b9b120..85e6eda30a94ff44552042d8562722793816d97c 100644 (file)
@@ -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;
     }
 }