summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sc61860/sc61860.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/sc61860/sc61860.cpp')
-rw-r--r--src/devices/cpu/sc61860/sc61860.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/sc61860/sc61860.cpp b/src/devices/cpu/sc61860/sc61860.cpp
index c6898c181e0..00095916644 100644
--- a/src/devices/cpu/sc61860/sc61860.cpp
+++ b/src/devices/cpu/sc61860/sc61860.cpp
@@ -172,7 +172,7 @@ void sc61860_device::device_start()
state_add(STATE_GENFLAGS, "GENFLAGS", m_debugger_temp).formatstr("%2s").noshow();
state_add(STATE_GENSP, "GENSP", m_r).mask(0x7f).formatstr("%02X").noshow();
- m_icountptr = &m_icount;
+ set_icountptr(m_icount);
}
@@ -234,7 +234,7 @@ void sc61860_device::execute_run()
{
m_oldpc = m_pc;
- debugger_instruction_hook(this, m_pc);
+ debugger_instruction_hook(m_pc);
sc61860_instruction();