summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/scmp/scmp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/scmp/scmp.cpp')
-rw-r--r--src/devices/cpu/scmp/scmp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/scmp/scmp.cpp b/src/devices/cpu/scmp/scmp.cpp
index de3b46217ed..4c78a0a8e9c 100644
--- a/src/devices/cpu/scmp/scmp.cpp
+++ b/src/devices/cpu/scmp/scmp.cpp
@@ -475,7 +475,7 @@ void scmp_device::execute_run()
if ((m_SR & 0x08) && (m_sensea_func())) {
take_interrupt();
}
- debugger_instruction_hook(this, m_PC.d);
+ debugger_instruction_hook(m_PC.d);
execute_one(ROP());
} while (m_icount > 0);
@@ -520,7 +520,7 @@ void scmp_device::device_start()
save_item(NAME(m_ER));
save_item(NAME(m_SR));
- m_icountptr = &m_icount;
+ set_icountptr(m_icount);
}