summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/apexc/apexc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/apexc/apexc.cpp')
-rw-r--r--src/devices/cpu/apexc/apexc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/apexc/apexc.cpp b/src/devices/cpu/apexc/apexc.cpp
index 85b9a398853..c759cb7b988 100644
--- a/src/devices/cpu/apexc/apexc.cpp
+++ b/src/devices/cpu/apexc/apexc.cpp
@@ -787,7 +787,7 @@ void apexc_cpu_device::device_start()
state_add( STATE_GENPC, "PC", m_pc ).mask(0x7ffc).callimport().formatstr("%04X");
state_add( STATE_GENPCBASE, "CURPC", m_pc ).mask(0x7ffc).callimport().noshow();
- m_icountptr = &m_icount;
+ set_icountptr(m_icount);
}
@@ -846,7 +846,7 @@ void apexc_cpu_device::execute_run()
{
do
{
- debugger_instruction_hook(this, m_pc);
+ debugger_instruction_hook(m_pc);
if (m_running)
execute();