diff options
Diffstat (limited to 'src/devices/cpu/tms9900/tms9900.cpp')
-rw-r--r-- | src/devices/cpu/tms9900/tms9900.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/tms9900/tms9900.cpp b/src/devices/cpu/tms9900/tms9900.cpp index c5240e16e47..21760205aff 100644 --- a/src/devices/cpu/tms9900/tms9900.cpp +++ b/src/devices/cpu/tms9900/tms9900.cpp @@ -226,7 +226,7 @@ void tms99xx_device::device_start() m_cru = &space(AS_IO); // set our instruction counter - m_icountptr = &m_icount; + set_icountptr(m_icount); m_state_any = 0; PC = 0; @@ -1504,7 +1504,7 @@ void tms99xx_device::acquire_instruction() { decode(m_current_value); if (TRACE_EXEC) logerror("%04x: %04x (%s)\n", PC, IR, opname[m_command]); - debugger_instruction_hook(this, PC); + debugger_instruction_hook(PC); PC = (PC + 2) & 0xfffe & m_prgaddr_mask; // IAQ will be cleared in the main loop } |