summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/am29000
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/am29000
parent14644cb8459e8e695334d17b2cfcfcda63342bac (diff)
misc cpu: no need to check debug enabled flag manually
Diffstat (limited to 'src/devices/cpu/am29000')
-rw-r--r--src/devices/cpu/am29000/am29000.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/am29000/am29000.cpp b/src/devices/cpu/am29000/am29000.cpp
index b66c5163e1e..d4039c18916 100644
--- a/src/devices/cpu/am29000/am29000.cpp
+++ b/src/devices/cpu/am29000/am29000.cpp
@@ -628,7 +628,7 @@ void am29000_cpu_device::fetch_decode()
void am29000_cpu_device::execute_run()
{
- uint32_t call_debugger = (machine().debug_flags & DEBUG_FLAG_ENABLED) != 0;
+ const bool call_debugger = debugger_enabled();
external_irq_check();