summaryrefslogtreecommitdiffstats
path: root/src/emu/schedule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/schedule.cpp')
-rw-r--r--src/emu/schedule.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/schedule.cpp b/src/emu/schedule.cpp
index cc97a696a78..42552f5f5de 100644
--- a/src/emu/schedule.cpp
+++ b/src/emu/schedule.cpp
@@ -481,9 +481,9 @@ void device_scheduler::timeslice()
exec->run();
else
{
- debugger_start_cpu_hook(&exec->device(), target);
+ exec->debugger_start_cpu_hook(target);
exec->run();
- debugger_stop_cpu_hook(&exec->device());
+ exec->debugger_stop_cpu_hook();
}
// adjust for any cycles we took back