summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6502/m6502mcu.ipp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6502/m6502mcu.ipp')
-rw-r--r--src/devices/cpu/m6502/m6502mcu.ipp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/m6502/m6502mcu.ipp b/src/devices/cpu/m6502/m6502mcu.ipp
index 36039f0b693..d4fd6833f54 100644
--- a/src/devices/cpu/m6502/m6502mcu.ipp
+++ b/src/devices/cpu/m6502/m6502mcu.ipp
@@ -55,7 +55,7 @@ void m6502_mcu_device_base<Base>::execute_run()
if(this->inst_state < 0xff00) {
this->PPC = this->NPC;
this->inst_state = this->IR | this->inst_state_base;
- if(this->machine().debug_flags & DEBUG_FLAG_ENABLED)
+ if(this->debugger_enabled())
this->debugger_instruction_hook(this->NPC);
}
this->do_exec_full();