]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Fix 68030 PLOAD disassembly.
authorToni Wilen <twilen@winuae.net>
Sun, 24 Sep 2023 13:44:45 +0000 (16:44 +0300)
committerToni Wilen <twilen@winuae.net>
Sun, 24 Sep 2023 13:44:45 +0000 (16:44 +0300)
disasm.cpp

index 1bc7fe49891b57282843a615297c11cdfdd9d0c4..d6a4aa3eeea12b99f36376157ab88ea0fba51de2 100644 (file)
@@ -1825,6 +1825,8 @@ static uaecptr disasm_mmu030(uaecptr pc, uae_u16 opcode, uae_u16 extra, struct i
                case 0x02: // PLOAD R
                        if (mmu_op30_invea(opcode))
                                break;
+                       if (!mmu_op30_helper_get_fc(extra, fc))
+                               break;
                        _stprintf(instrname, _T("PLOAD%c"), mode == 0 ? 'W' : 'R');
                        disasm_lc_mnemo(instrname);
                        _stprintf(instrname + _tcslen(instrname), _T(" %s,"), fc);