summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/i8085/i8085.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/i8085/i8085.cpp')
-rw-r--r--src/devices/cpu/i8085/i8085.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/i8085/i8085.cpp b/src/devices/cpu/i8085/i8085.cpp
index 4249cbd99b1..de8c120d19e 100644
--- a/src/devices/cpu/i8085/i8085.cpp
+++ b/src/devices/cpu/i8085/i8085.cpp
@@ -372,7 +372,7 @@ void i8085a_cpu_device::device_start()
save_item(NAME(m_trap_im_copy));
save_item(NAME(m_sod_state));
- m_icountptr = &m_icount;
+ set_icountptr(m_icount);
}
@@ -854,7 +854,7 @@ void i8085a_cpu_device::execute_run()
do
{
- debugger_instruction_hook(this, m_PC.d);
+ debugger_instruction_hook(m_PC.d);
/* the instruction after an EI does not take an interrupt, so
we cannot check immediately; handle post-EI behavior here */