summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h8/h8.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/h8/h8.cpp
parent14644cb8459e8e695334d17b2cfcfcda63342bac (diff)
misc cpu: no need to check debug enabled flag manually
Diffstat (limited to 'src/devices/cpu/h8/h8.cpp')
-rw-r--r--src/devices/cpu/h8/h8.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/h8/h8.cpp b/src/devices/cpu/h8/h8.cpp
index 0b5c9cb0a10..6e0991a991d 100644
--- a/src/devices/cpu/h8/h8.cpp
+++ b/src/devices/cpu/h8/h8.cpp
@@ -357,7 +357,7 @@ void h8_device::execute_run()
while(m_icount > m_bcount) {
if(m_inst_state < 0x10000) {
m_PPC = m_NPC;
- if(machine().debug_flags & DEBUG_FLAG_ENABLED)
+ if(debugger_enabled())
debugger_instruction_hook(m_NPC);
}
do_exec_full();