summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/cosmac/cosmac.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/cosmac/cosmac.cpp')
-rw-r--r--src/devices/cpu/cosmac/cosmac.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/cpu/cosmac/cosmac.cpp b/src/devices/cpu/cosmac/cosmac.cpp
index e4a320cd8d1..7be0ae0dd76 100644
--- a/src/devices/cpu/cosmac/cosmac.cpp
+++ b/src/devices/cpu/cosmac/cosmac.cpp
@@ -385,7 +385,7 @@ void cosmac_device::device_start()
save_item(NAME(m_q));
// set our instruction counter
- m_icountptr = &m_icount;
+ set_icountptr(m_icount);
}
@@ -766,7 +766,7 @@ inline void cosmac_device::debug()
{
if (device_t::machine().debug_flags & DEBUG_FLAG_ENABLED)
{
- debugger_instruction_hook(this, R[P]);
+ debugger_instruction_hook(R[P]);
}
}