summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/dsp56k/dsp56ops.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/dsp56k/dsp56ops.hxx')
-rw-r--r--src/devices/cpu/dsp56k/dsp56ops.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/cpu/dsp56k/dsp56ops.hxx b/src/devices/cpu/dsp56k/dsp56ops.hxx
index a7815da5a4d..7e52d1b2cd0 100644
--- a/src/devices/cpu/dsp56k/dsp56ops.hxx
+++ b/src/devices/cpu/dsp56k/dsp56ops.hxx
@@ -240,7 +240,8 @@ static void execute_one(dsp56k_core* cpustate)
/* For MAME */
cpustate->ppc = PC;
- debugger_instruction_hook(cpustate->device, PC);
+ if (cpustate->device->machine().debug_flags & DEBUG_FLAG_CALL_HOOK) // FIXME: if this was a member, the helper would work
+ cpustate->device->debug()->instruction_hook(PC);
cpustate->op = ROPCODE(PC);
/* The words we're going to be working with */