summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/devices/cpu/cop400/cop400.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/devices/cpu/cop400/cop400.cpp b/src/devices/cpu/cop400/cop400.cpp
index 459375fb40d..94435e17a35 100644
--- a/src/devices/cpu/cop400/cop400.cpp
+++ b/src/devices/cpu/cop400/cop400.cpp
@@ -1068,9 +1068,11 @@ void cop400_cpu_device::execute_run()
{
do
{
- // debugger hook
- m_prevpc = PC;
- debugger_instruction_hook(this, PC);
+ if (!m_skip) {
+ // debugger hook
+ m_prevpc = PC;
+ debugger_instruction_hook(this, PC);
+ }
// halt logic
if (m_cko == COP400_CKO_HALT_IO_PORT) {