#if MMU030_DEBUG
if (mmu030_state[1] & MMU030_STATEFLAG1_MOVEM1) {
if (mmu030_state[1] & MMU030_STATEFLAG1_MOVEM2) {
- write_log(_T("68030 MMU MOVEM %04x retry but MMU030_STATEFLAG1_MOVEM2 was already set!?\n"));
+ write_log(_T("68030 MMU MOVEM %04x retry but MMU030_STATEFLAG1_MOVEM2 was already set!?\n"), mmu030_opcode);
}
}
if (mmu030_ad[idxsize].done) {
- write_log(_T("68030 MMU ins %04x retry but it was already marked as done!?\n"));
+ write_log(_T("68030 MMU ins %04x retry but it was already marked as done!?\n"), mmu030_opcode);
}
#endif
#if MMU030_DEBUG
if (mmu030_state[1] & MMU030_STATEFLAG1_MOVEM1) {
if (mmu030_state[1] & MMU030_STATEFLAG1_MOVEM2) {
- write_log(_T("68030 MMU MOVEM %04x retry but MMU030_STATEFLAG1_MOVEM2 was already set!?\n"));
+ write_log(_T("68030 MMU MOVEM %04x retry but MMU030_STATEFLAG1_MOVEM2 was already set!?\n"), mmu030_opcode);
}
} else {
if (mmu030_ad[idxsize].done) {
- write_log(_T("68030 MMU ins %04x retry but it was already marked as done!?\n"));
+ write_log(_T("68030 MMU ins %04x retry but it was already marked as done!?\n"), mmu030_opcode);
}
}
#endif
return out;
}
-static bool read_dache030_2(uaecptr addr, uae_u32 size, uae_u32 *valp)
+static bool read_dcache030_2(uaecptr addr, uae_u32 size, uae_u32 *valp)
{
// data cache enabled?
if (!(regs.cacr & 0x100))
return true;
}
-uae_u32 read_dcache030 (uaecptr addr, uae_u32 size, uae_u32 fc)
+static uae_u32 read_dcache030 (uaecptr addr, uae_u32 size, uae_u32 fc)
{
uae_u32 val;
regs.fc030 = fc;
- if (!read_dache030_2(addr, size, &val)) {
+ if (!read_dcache030_2(addr, size, &val)) {
// read from memory, data cache is disabled or inhibited.
if (size == 2)
return dcache_lget(addr);
uae_u32 val;
regs.fc030 = fc;
- if (!read_dache030_2(addr, size, &val)) {
+ if (!read_dcache030_2(addr, size, &val)) {
return mmu030_get_generic(addr, fc, size, flags);
}
return val;