summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-03-11 20:23:50 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-03-11 20:23:50 +0100
commitd213ae836e012fdae5e556edf16a7e87fe5eeb55 (patch)
tree4e75480fd073ddd077744621a290da2733beb4c5
parenta46635346df67685481d8cf2b37df4ae4f09725d (diff)
if (this) leftover, need to check if this causes some issue (nw)
-rw-r--r--src/devices/cpu/m68000/m68kcpu.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/devices/cpu/m68000/m68kcpu.cpp b/src/devices/cpu/m68000/m68kcpu.cpp
index 38ff81d57f3..8e8e7a3eadb 100644
--- a/src/devices/cpu/m68000/m68kcpu.cpp
+++ b/src/devices/cpu/m68000/m68kcpu.cpp
@@ -742,7 +742,6 @@ WRITE_LINE_MEMBER( m68000_base_device::write_irq7 )
bool m68000_base_device::memory_translate(address_spacenum space, int intention, offs_t &address)
{
/* only applies to the program address space and only does something if the MMU's enabled */
- if (this)
{
/* 68040 needs to call the MMU even when disabled so transparent translation works */
if ((space == AS_PROGRAM) && ((pmmu_enabled) || (CPU_TYPE_IS_040_PLUS(cpu_type))))
@@ -2646,7 +2645,6 @@ void m68020pmmu_device::device_start()
bool m68020hmmu_device::memory_translate(address_spacenum space, int intention, offs_t &address)
{
/* only applies to the program address space and only does something if the MMU's enabled */
- if (this)
{
if ((space == AS_PROGRAM) && (hmmu_enabled))
{