summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/mn10200/mn10200.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/mn10200/mn10200.cpp')
-rw-r--r--src/devices/cpu/mn10200/mn10200.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/mn10200/mn10200.cpp b/src/devices/cpu/mn10200/mn10200.cpp
index 2ffd397ed2c..f984a789c5e 100644
--- a/src/devices/cpu/mn10200/mn10200.cpp
+++ b/src/devices/cpu/mn10200/mn10200.cpp
@@ -251,7 +251,7 @@ void mn10200_device::device_start()
state_add( STATE_GENPCBASE, "CURPC", m_pc ).noshow();
state_add( STATE_GENFLAGS, "GENFLAGS", m_psw).formatstr("%26s").noshow();
- m_icountptr = &m_cycles;
+ set_icountptr(m_cycles);
}
@@ -565,7 +565,7 @@ void mn10200_device::execute_run()
check_irq();
}
- debugger_instruction_hook(this, m_pc);
+ debugger_instruction_hook(m_pc);
m_cycles -= 1;
uint8_t op = read_arg8(m_pc);