summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/mips/mips3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/mips/mips3.cpp')
-rw-r--r--src/devices/cpu/mips/mips3.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/mips/mips3.cpp b/src/devices/cpu/mips/mips3.cpp
index c46f02207e2..ca8a621dc72 100644
--- a/src/devices/cpu/mips/mips3.cpp
+++ b/src/devices/cpu/mips/mips3.cpp
@@ -636,7 +636,7 @@ void mips3_device::device_start()
state_add( STATE_GENSP, "CURSP", m_core->r[31]).noshow();
state_add( STATE_GENFLAGS, "CURFLAGS", m_debugger_temp).formatstr("%1s").noshow();
- m_icountptr = &m_core->icount;
+ set_icountptr(m_core->icount);
}
@@ -2770,7 +2770,7 @@ void mips3_device::execute_run()
/* debugging */
m_ppc = m_core->pc;
- debugger_instruction_hook(this, m_core->pc);
+ debugger_instruction_hook(m_core->pc);
/* instruction fetch */
if(!RWORD(m_core->pc, &op))