summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/mb86233/mb86233.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/mb86233/mb86233.cpp')
-rw-r--r--src/devices/cpu/mb86233/mb86233.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/mb86233/mb86233.cpp b/src/devices/cpu/mb86233/mb86233.cpp
index 4c0921795f4..68cf6a8fe6f 100644
--- a/src/devices/cpu/mb86233/mb86233.cpp
+++ b/src/devices/cpu/mb86233/mb86233.cpp
@@ -167,7 +167,7 @@ void mb86233_cpu_device::device_start()
state_add( STATE_GENPCBASE, "CURPC", m_pc).noshow();
state_add( STATE_GENFLAGS, "GENFLAGS", m_sr).formatstr("%2s").noshow();
- m_icountptr = &m_icount;
+ set_icountptr(m_icount);
}
@@ -1004,7 +1004,7 @@ void mb86233_cpu_device::execute_run()
uint32_t val;
uint32_t opcode;
- debugger_instruction_hook(this, GETPC());
+ debugger_instruction_hook(GETPC());
opcode = ROPCODE(GETPC());