summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h6280/h6280.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/h6280/h6280.cpp')
-rw-r--r--src/devices/cpu/h6280/h6280.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/h6280/h6280.cpp b/src/devices/cpu/h6280/h6280.cpp
index d8dd1c7db80..14705c93dd7 100644
--- a/src/devices/cpu/h6280/h6280.cpp
+++ b/src/devices/cpu/h6280/h6280.cpp
@@ -269,7 +269,7 @@ void h6280_device::device_start()
save_item(NAME(m_io_buffer));
// set our instruction counter
- m_icountptr = &m_icount;
+ set_icountptr(m_icount);
m_icount = 0;
/* clear pending interrupts */
@@ -2406,7 +2406,7 @@ void h6280_device::execute_run()
{
m_ppc = m_pc;
- debugger_instruction_hook(this, PCW);
+ debugger_instruction_hook(PCW);
/* Execute 1 instruction */
in = read_opcode();