summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/amis2000/amis2000.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/amis2000/amis2000.cpp')
-rw-r--r--src/devices/cpu/amis2000/amis2000.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/devices/cpu/amis2000/amis2000.cpp b/src/devices/cpu/amis2000/amis2000.cpp
index 70df8370ae4..0558f5117db 100644
--- a/src/devices/cpu/amis2000/amis2000.cpp
+++ b/src/devices/cpu/amis2000/amis2000.cpp
@@ -250,7 +250,9 @@ void amis2000_base_device::execute_run()
// remember previous opcode
m_prev_op = m_op;
- debugger_instruction_hook(m_pc);
+ // fetch next opcode
+ if (!m_skip)
+ debugger_instruction_hook(m_pc);
m_op = m_program->read_byte(m_pc);
m_pc = (m_pc + 1) & 0x1fff;