summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sh/sh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/sh/sh.cpp')
-rw-r--r--src/devices/cpu/sh/sh.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/sh/sh.cpp b/src/devices/cpu/sh/sh.cpp
index f6478f289e4..08054e047fe 100644
--- a/src/devices/cpu/sh/sh.cpp
+++ b/src/devices/cpu/sh/sh.cpp
@@ -2502,7 +2502,7 @@ void sh_common_execution::generate_sequence_instruction(drcuml_block &block, com
}
/* if we are debugging, call the debugger */
- if ((machine().debug_flags & DEBUG_FLAG_ENABLED) != 0)
+ if (debugger_enabled())
{
UML_MOV(block, mem(&m_sh2_state->pc), desc->pc); // mov [pc],desc->pc
save_fast_iregs(block);