From d213ae836e012fdae5e556edf16a7e87fe5eeb55 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 11 Mar 2016 20:23:50 +0100 Subject: [PATCH] if (this) leftover, need to check if this causes some issue (nw) --- src/devices/cpu/m68000/m68kcpu.cpp | 2 -- 1 file changed, 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)) {