diff options
Diffstat (limited to 'src/devices/cpu/f8/f8.cpp')
-rw-r--r-- | src/devices/cpu/f8/f8.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/f8/f8.cpp b/src/devices/cpu/f8/f8.cpp index 54364ebddf3..1f98ed1fe76 100644 --- a/src/devices/cpu/f8/f8.cpp +++ b/src/devices/cpu/f8/f8.cpp @@ -170,7 +170,7 @@ void f8_cpu_device::device_start() state_add(STATE_GENPCBASE, "CURPC", m_debug_pc).formatstr("%04X").noshow(); state_add(STATE_GENFLAGS, "GENFLAGS", m_w).formatstr("%5s").noshow(); - m_icountptr = &m_icount; + set_icountptr(m_icount); } void f8_cpu_device::device_reset() @@ -1655,7 +1655,7 @@ void f8_cpu_device::execute_run() u8 op = m_dbus; m_debug_pc = (m_pc0 - 1) & 0xffff; - debugger_instruction_hook(this, m_debug_pc); + debugger_instruction_hook(m_debug_pc); switch( op ) { |