summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/amis2000/amis2000.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/amis2000/amis2000.cpp')
-rw-r--r--src/devices/cpu/amis2000/amis2000.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/amis2000/amis2000.cpp b/src/devices/cpu/amis2000/amis2000.cpp
index fa092f0304b..43adeec3b35 100644
--- a/src/devices/cpu/amis2000/amis2000.cpp
+++ b/src/devices/cpu/amis2000/amis2000.cpp
@@ -182,7 +182,7 @@ void amis2000_base_device::device_start()
state_add(STATE_GENPCBASE, "CURPC", m_pc).noshow();
state_add(STATE_GENFLAGS, "CURFLAGS", m_f).formatstr("%6s").noshow();
- m_icountptr = &m_icount;
+ set_icountptr(m_icount);
}
@@ -246,7 +246,7 @@ void amis2000_base_device::execute_run()
// remember previous opcode
m_prev_op = m_op;
- debugger_instruction_hook(this, m_pc);
+ debugger_instruction_hook(m_pc);
m_op = m_program->read_byte(m_pc);
m_pc = (m_pc + 1) & 0x1fff;