summaryrefslogtreecommitdiffstats
path: root/src/devices/cpu/tms32051/tms32051.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/tms32051/tms32051.cpp')
-rw-r--r--src/devices/cpu/tms32051/tms32051.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/cpu/tms32051/tms32051.cpp b/src/devices/cpu/tms32051/tms32051.cpp
index 89ec626de71..ed620425891 100644
--- a/src/devices/cpu/tms32051/tms32051.cpp
+++ b/src/devices/cpu/tms32051/tms32051.cpp
@@ -251,7 +251,7 @@ void tms32051_device::device_start()
state_add(STATE_GENPC, "GENPC", m_pc).formatstr("%04X").noshow();
state_add(STATE_GENPCBASE, "CURPC", m_pc).formatstr("%04X").noshow();
- m_icountptr = &m_icount;
+ set_icountptr(m_icount);
}
void tms32051_device::device_reset()
@@ -377,7 +377,7 @@ void tms32051_device::execute_run()
if (m_idle)
{
- debugger_instruction_hook(this, m_pc);
+ debugger_instruction_hook(m_pc);
CYCLES(1);
}
else
@@ -401,7 +401,7 @@ void tms32051_device::execute_run()
}
ppc = m_pc;
- debugger_instruction_hook(this, m_pc);
+ debugger_instruction_hook(m_pc);
m_op = ROPCODE();
(this->*s_opcode_table[m_op >> 8])();