summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/pdp8/pdp8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/pdp8/pdp8.cpp')
-rw-r--r--src/devices/cpu/pdp8/pdp8.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/pdp8/pdp8.cpp b/src/devices/cpu/pdp8/pdp8.cpp
index 341a7d3c997..39f909b03e4 100644
--- a/src/devices/cpu/pdp8/pdp8.cpp
+++ b/src/devices/cpu/pdp8/pdp8.cpp
@@ -94,7 +94,7 @@ void pdp8_device::device_start()
save_item(NAME(m_halt));
// set our instruction counter
- m_icountptr = &m_icount;
+ set_icountptr(m_icount);
}
void pdp8_device::device_stop()
@@ -216,7 +216,7 @@ void pdp8_device::execute_run()
{
m_pc &= 07777;
- debugger_instruction_hook(this, m_pc);
+ debugger_instruction_hook(m_pc);
uint16_t op = m_program->read_word(m_pc);