diff options
Diffstat (limited to 'src/devices/cpu/z180/z180.cpp')
-rw-r--r-- | src/devices/cpu/z180/z180.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/z180/z180.cpp b/src/devices/cpu/z180/z180.cpp index 9a39cb3996d..118b0371475 100644 --- a/src/devices/cpu/z180/z180.cpp +++ b/src/devices/cpu/z180/z180.cpp @@ -2162,7 +2162,7 @@ void z180_device::device_start() save_item(NAME(m_mmu)); - m_icountptr = &m_icount; + set_icountptr(m_icount); } /**************************************************************************** @@ -2420,7 +2420,7 @@ again: if ((IO_DSTAT & Z180_DSTAT_DE0) == Z180_DSTAT_DE0 && (IO_DMODE & Z180_DMODE_MMOD) == Z180_DMODE_MMOD) { - debugger_instruction_hook(this, _PCD); + debugger_instruction_hook(_PCD); /* FIXME z180_dma0 should be handled in handle_io_timers */ curcycles = z180_dma0(m_icount); @@ -2437,7 +2437,7 @@ again: m_after_EI = 0; _PPC = _PCD; - debugger_instruction_hook(this, _PCD); + debugger_instruction_hook(_PCD); if (!m_HALT) { @@ -2495,7 +2495,7 @@ again: m_after_EI = 0; _PPC = _PCD; - debugger_instruction_hook(this, _PCD); + debugger_instruction_hook(_PCD); if (!m_HALT) { |