summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/netlist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/netlist.cpp')
-rw-r--r--src/devices/machine/netlist.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/netlist.cpp b/src/devices/machine/netlist.cpp
index 0ecf6b62acc..648d435ace8 100644
--- a/src/devices/machine/netlist.cpp
+++ b/src/devices/machine/netlist.cpp
@@ -1011,7 +1011,7 @@ void netlist_mame_cpu_device::device_start()
}
// set our instruction counter
- m_icountptr = &m_icount;
+ set_icountptr(m_icount);
}
@@ -1041,7 +1041,7 @@ ATTR_HOT void netlist_mame_cpu_device::execute_run()
{
m_genPC++;
m_genPC &= 255;
- debugger_instruction_hook(this, m_genPC);
+ debugger_instruction_hook(m_genPC);
netlist().process_queue(m_div);
update_time_x();
}