diff options
Diffstat (limited to 'src/devices/cpu/apexc/apexc.cpp')
-rw-r--r-- | src/devices/cpu/apexc/apexc.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/devices/cpu/apexc/apexc.cpp b/src/devices/cpu/apexc/apexc.cpp index b38e66d7aeb..b5a908c2c4b 100644 --- a/src/devices/cpu/apexc/apexc.cpp +++ b/src/devices/cpu/apexc/apexc.cpp @@ -842,12 +842,14 @@ void apexc_cpu_device::execute_run() { do { - debugger_instruction_hook(m_pc); - if (m_running) + { + debugger_instruction_hook(m_pc); execute(); + } else { + debugger_wait_hook(); DELAY(m_icount); /* burn cycles once for all */ } } while (m_icount > 0); |