From 74877969c18275966e6f72ee5690f1768b03c958 Mon Sep 17 00:00:00 2001 From: hap Date: Fri, 11 Apr 2025 15:21:07 +0200 Subject: misc cpu: no need to check debug enabled flag manually --- src/devices/cpu/h8/h8.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/devices/cpu/h8/h8.cpp') 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(); -- cgit v1.2.3-70-g09d2