summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Sven Schnelle <svens@stackframe.org>2018-12-01 18:56:17 +0100
committer Sven Schnelle <svens@stackframe.org>2018-12-01 18:56:17 +0100
commitbc7f187e79945cf48c63dc730f1170a5d4a343b7 (patch)
tree9e8723c7e6d930cbd3b9a6ff4eb75d7bec31fb71
parent90ff2b28f63cceb922812c5f13472b2ca4e681dd (diff)
m68kmmu: fix build
ps == 8 should be ps - 8, which cause a compiler error. However, the code doesn't work. It wasn't noticed due to the typo, so remove it for now.
-rw-r--r--src/devices/cpu/m68000/m68kmmu.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/devices/cpu/m68000/m68kmmu.h b/src/devices/cpu/m68000/m68kmmu.h
index 065905bfe7e..114d89ff5c1 100644
--- a/src/devices/cpu/m68000/m68kmmu.h
+++ b/src/devices/cpu/m68000/m68kmmu.h
@@ -1320,17 +1320,6 @@ int m68851_buserror(uint32_t& addr)
return true;
}
-
- const int ps = (m_mmu_tc >> 16) & 0xf;
- for(int i = 0; i < MMU_ATC_ENTRIES; i++)
- {
- if ((m_mmu_atc_tag[i] & M68K_MMU_ATC_VALID) &&
- ((m_mmu_atc_data[i] >> ps) << (ps -8)) == ((addr >> ps) << (ps == 8)))
- {
- MMULOG("%s: set B in ATC entry %d\n", __func__, i);
- m_mmu_atc_data[i] |= M68K_MMU_ATC_BUSERROR;
- }
- }
addr = m_mmu_last_logical_addr;
return false;
}