summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/hcd62121/hcd62121.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/hcd62121/hcd62121.cpp')
-rw-r--r--src/devices/cpu/hcd62121/hcd62121.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/hcd62121/hcd62121.cpp b/src/devices/cpu/hcd62121/hcd62121.cpp
index 374743788e2..53e9a1ed5da 100644
--- a/src/devices/cpu/hcd62121/hcd62121.cpp
+++ b/src/devices/cpu/hcd62121/hcd62121.cpp
@@ -377,7 +377,7 @@ void hcd62121_cpu_device::device_start()
state_add(HCD62121_R78, "R78", m_reg[0x00]).callimport().callexport().formatstr("%8s");
state_add(HCD62121_R7C, "R7C", m_reg[0x00]).callimport().callexport().formatstr("%8s");
- m_icountptr = &m_icount;
+ set_icountptr(m_icount);
}
@@ -820,7 +820,7 @@ void hcd62121_cpu_device::execute_run()
{
offs_t pc = (m_cseg << 16) | m_ip;
- debugger_instruction_hook(this, pc);
+ debugger_instruction_hook(pc);
m_prev_pc = pc;
u8 op = read_op();