summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/mcs40/mcs40.cpp
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2025-04-11 15:21:07 +0200
committer hap <happppp@users.noreply.github.com>2025-04-11 15:21:15 +0200
commit74877969c18275966e6f72ee5690f1768b03c958 (patch)
treebcdfadb5fa1d2b373d4a269fd16e0d6ec20cdd8e /src/devices/cpu/mcs40/mcs40.cpp
parent14644cb8459e8e695334d17b2cfcfcda63342bac (diff)
misc cpu: no need to check debug enabled flag manually
Diffstat (limited to 'src/devices/cpu/mcs40/mcs40.cpp')
-rw-r--r--src/devices/cpu/mcs40/mcs40.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/mcs40/mcs40.cpp b/src/devices/cpu/mcs40/mcs40.cpp
index 52005f3f0d5..bf9b6a310d6 100644
--- a/src/devices/cpu/mcs40/mcs40.cpp
+++ b/src/devices/cpu/mcs40/mcs40.cpp
@@ -580,7 +580,7 @@ inline void mcs40_cpu_device_base::do_a1()
if (cycle::OP == m_cycle)
{
m_pcbase = rom_bank() | m_rom_addr;
- if (machine().debug_flags & DEBUG_FLAG_ENABLED)
+ if (debugger_enabled())
debugger_instruction_hook(pc());
if (m_stop_latch)
{