summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m68000/m68000mcu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m68000/m68000mcu.cpp')
-rw-r--r--src/devices/cpu/m68000/m68000mcu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/m68000/m68000mcu.cpp b/src/devices/cpu/m68000/m68000mcu.cpp
index c793b36f862..39c084e4914 100644
--- a/src/devices/cpu/m68000/m68000mcu.cpp
+++ b/src/devices/cpu/m68000/m68000mcu.cpp
@@ -34,7 +34,7 @@ void m68000_mcu_device::execute_run()
m_ipc = m_pc - 2;
m_irdi = m_ird;
- if(machine().debug_flags & DEBUG_FLAG_ENABLED)
+ if(debugger_enabled())
debugger_instruction_hook(m_ipc);
}
(this->*(m_handlers_f[m_inst_state]))();