summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/mcs48/mcs48.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/mcs48/mcs48.cpp')
-rw-r--r--src/devices/cpu/mcs48/mcs48.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/mcs48/mcs48.cpp b/src/devices/cpu/mcs48/mcs48.cpp
index d19f92dadb6..7b10be18924 100644
--- a/src/devices/cpu/mcs48/mcs48.cpp
+++ b/src/devices/cpu/mcs48/mcs48.cpp
@@ -1149,7 +1149,7 @@ void mcs48_cpu_device::device_start()
save_item(NAME(m_a11));
- m_icountptr = &m_icount;
+ set_icountptr(m_icount);
}
@@ -1293,7 +1293,7 @@ void mcs48_cpu_device::execute_run()
/* fetch next opcode */
m_prevpc = m_pc;
- debugger_instruction_hook(this, m_pc);
+ debugger_instruction_hook(m_pc);
opcode = opcode_fetch();
/* process opcode and count cycles */