summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/am29000/am29000.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/am29000/am29000.cpp')
-rw-r--r--src/devices/cpu/am29000/am29000.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/am29000/am29000.cpp b/src/devices/cpu/am29000/am29000.cpp
index 36563ae5a81..3f5faedf0d2 100644
--- a/src/devices/cpu/am29000/am29000.cpp
+++ b/src/devices/cpu/am29000/am29000.cpp
@@ -409,7 +409,7 @@ void am29000_cpu_device::device_start()
state_add(STATE_GENPCBASE, "CURPC", m_pc).callimport().noshow();
state_add(STATE_GENFLAGS, "CURFLAGS", m_alu).formatstr("%13s").noshow();
- m_icountptr = &m_icount;
+ set_icountptr(m_icount);
}
@@ -673,7 +673,7 @@ void am29000_cpu_device::execute_run()
}
if (call_debugger)
- debugger_instruction_hook(this, m_pc);
+ debugger_instruction_hook(m_pc);
fetch_decode();