summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sm8500/sm8500.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/sm8500/sm8500.cpp')
-rw-r--r--src/devices/cpu/sm8500/sm8500.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/sm8500/sm8500.cpp b/src/devices/cpu/sm8500/sm8500.cpp
index c5ab3aeccfe..483cd29707b 100644
--- a/src/devices/cpu/sm8500/sm8500.cpp
+++ b/src/devices/cpu/sm8500/sm8500.cpp
@@ -146,7 +146,7 @@ void sm8500_cpu_device::device_start()
state_add(STATE_GENPCBASE, "CURPC", m_PC).formatstr("%8s").noshow();
state_add(STATE_GENFLAGS, "GENFLAGS", m_PS1).formatstr("%8s").noshow();
- m_icountptr = &m_icount;
+ set_icountptr(m_icount);
}
@@ -365,7 +365,7 @@ void sm8500_cpu_device::execute_run()
uint32_t d1,d2;
uint32_t res;
- debugger_instruction_hook(this, m_PC);
+ debugger_instruction_hook(m_PC);
m_oldpc = m_PC;
process_interrupts();
if ( !m_halted ) {