summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/unsp/unspdrc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/unsp/unspdrc.cpp')
-rw-r--r--src/devices/cpu/unsp/unspdrc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/cpu/unsp/unspdrc.cpp b/src/devices/cpu/unsp/unspdrc.cpp
index 8034e79f4a3..a8162b82b22 100644
--- a/src/devices/cpu/unsp/unspdrc.cpp
+++ b/src/devices/cpu/unsp/unspdrc.cpp
@@ -610,7 +610,7 @@ void unsp_device::generate_sequence_instruction(drcuml_block &block, compiler_st
UML_MAPVAR(block, MAPVAR_PC, desc->pc);
/* if we are debugging, call the debugger */
- if ((machine().debug_flags & DEBUG_FLAG_ENABLED) != 0)
+ if (debugger_enabled())
{
//save_fast_iregs(block);
UML_DEBUG(block, desc->pc);