summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/hd61700/hd61700.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/hd61700/hd61700.cpp')
-rw-r--r--src/devices/cpu/hd61700/hd61700.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/hd61700/hd61700.cpp b/src/devices/cpu/hd61700/hd61700.cpp
index 0d2e5aeb1d5..88dd1756d72 100644
--- a/src/devices/cpu/hd61700/hd61700.cpp
+++ b/src/devices/cpu/hd61700/hd61700.cpp
@@ -200,7 +200,7 @@ void hd61700_cpu_device::device_start()
state_add(STATE_GENFLAGS, "GENFLAGS", m_flags).mask(0xff).formatstr("%8s").noshow();
// set our instruction counter
- m_icountptr = &m_icount;
+ set_icountptr(m_icount);
}
@@ -341,7 +341,7 @@ void hd61700_cpu_device::execute_run()
{
m_ppc = m_curpc;
- debugger_instruction_hook(this, m_curpc);
+ debugger_instruction_hook(m_curpc);
// verify that CPU is not in sleep
if (m_state & CPU_SLP)