diff options
Diffstat (limited to 'src/emu/cpuexec.c')
-rw-r--r-- | src/emu/cpuexec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emu/cpuexec.c b/src/emu/cpuexec.c index 19314eaaeb4..82ecb841b71 100644 --- a/src/emu/cpuexec.c +++ b/src/emu/cpuexec.c @@ -11,6 +11,7 @@ #include "driver.h" #include "profiler.h" +#include "debugger.h" @@ -278,7 +279,9 @@ void cpuexec_timeslice(running_machine *machine) /* note that this global variable cycles_stolen can be modified */ /* via the call to the cpunum_execute */ cycles_stolen = 0; + debugger_start_cpu_hook(machine, cpunum, target); ran = cpunum_execute(cpunum, cycles_running); + debugger_stop_cpu_hook(machine, cpunum); #ifdef MAME_DEBUG if (ran < cycles_stolen) |