summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/ie15/ie15.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/ie15/ie15.cpp')
-rw-r--r--src/devices/cpu/ie15/ie15.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/ie15/ie15.cpp b/src/devices/cpu/ie15/ie15.cpp
index eea0ef17db7..9b101558139 100644
--- a/src/devices/cpu/ie15/ie15.cpp
+++ b/src/devices/cpu/ie15/ie15.cpp
@@ -38,7 +38,7 @@ ie15_cpu_device::ie15_cpu_device(const machine_config &mconfig, const char *tag,
, m_program(nullptr), m_io(nullptr), m_direct(nullptr)
{
// set our instruction counter
- m_icountptr = &m_icount;
+ set_icountptr(m_icount);
}
//-------------------------------------------------
@@ -193,7 +193,7 @@ void ie15_cpu_device::execute_run()
{
do
{
- debugger_instruction_hook(this, m_PC.d);
+ debugger_instruction_hook(m_PC.d);
execute_one(rop());
} while (m_icount > 0);
}