From dcb15c77a8fe10cd79b83019d57c02c1d98d6ce6 Mon Sep 17 00:00:00 2001 From: Wilbert Pol Date: Fri, 8 Jun 2012 17:28:13 +0000 Subject: [PATCH] Fix compile error (nw) --- src/emu/cpu/tms9900/tms9900.c | 2 +- src/emu/cpu/tms9900/tms9995.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emu/cpu/tms9900/tms9900.c b/src/emu/cpu/tms9900/tms9900.c index f337557dea3..800e140615f 100644 --- a/src/emu/cpu/tms9900/tms9900.c +++ b/src/emu/cpu/tms9900/tms9900.c @@ -1340,7 +1340,7 @@ void tms9900_device::acquire_instruction() mem_read(); decode(m_current_value); if (VERBOSE>3) LOG("tms9900: ===== Next operation %04x (%s) at %04x =====\n", IR, opname[m_command], PC); - debugger_instruction_hook(*this, PC); + debugger_instruction_hook(this, PC); PC = (PC + 2) & 0xfffe; // IAQ will be cleared in the main loop } diff --git a/src/emu/cpu/tms9900/tms9995.c b/src/emu/cpu/tms9900/tms9995.c index 500db518bc0..a7f2694d139 100644 --- a/src/emu/cpu/tms9900/tms9995.c +++ b/src/emu/cpu/tms9900/tms9995.c @@ -1415,7 +1415,7 @@ void tms9995_device::next_command() MPC = -1; if (VERBOSE>3) LOG("tms9995: ===== Next operation %04x (%s) at %04x =====\n", m_instruction->IR, opname[m_instruction->command], PC-2); PC_debug = PC - 2; - debugger_instruction_hook(*this, PC_debug); + debugger_instruction_hook(this, PC_debug); m_first_cycle = m_icount; } }