summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/z8/z8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/z8/z8.cpp')
-rw-r--r--src/devices/cpu/z8/z8.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/z8/z8.cpp b/src/devices/cpu/z8/z8.cpp
index b2ef0f36d76..c7b1c8cdf09 100644
--- a/src/devices/cpu/z8/z8.cpp
+++ b/src/devices/cpu/z8/z8.cpp
@@ -270,7 +270,7 @@ uint8_t z8_device::fetch()
uint8_t z8_device::fetch_opcode()
{
m_ppc = (m_pc < m_rom_size) ? m_pc : mask_external_address(m_pc);
- debugger_instruction_hook(this, m_ppc);
+ debugger_instruction_hook(m_ppc);
uint8_t data = m_direct->read_byte(m_ppc);
@@ -809,7 +809,7 @@ void z8_device::device_start()
save_item(NAME(m_irq_line));
save_item(NAME(m_irq_taken));
- m_icountptr = &m_icount;
+ set_icountptr(m_icount);
}
/***************************************************************************