summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/devcpu.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2010-09-07 00:32:49 +0000
committer Aaron Giles <aaron@aarongiles.com>2010-09-07 00:32:49 +0000
commit2dbd6f67f8f2cae2b51a3037ca37529bde22752d (patch)
tree9fa652f1ad2fa8f7f8f2777152c2f12d8ad61f64 /src/emu/devcpu.c
parenta8c12bd3df340f3b9b1fa6968952b44b51357acb (diff)
Converted ASAP CPU core from a legacy CPU core to a modern device.
Renamed device_execute_interface::m_icount to m_icountptr to avoid commonly-named device values of m_icount.
Diffstat (limited to 'src/emu/devcpu.c')
-rw-r--r--src/emu/devcpu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/devcpu.c b/src/emu/devcpu.c
index 528ecc23751..ac5fe4d6379 100644
--- a/src/emu/devcpu.c
+++ b/src/emu/devcpu.c
@@ -301,9 +301,9 @@ void legacy_cpu_device::device_start()
}
// get our icount pointer
- m_icount = reinterpret_cast<int *>(get_legacy_runtime_ptr(CPUINFO_PTR_INSTRUCTION_COUNTER));
- assert(m_icount != 0);
- *m_icount = 0;
+ m_icountptr = reinterpret_cast<int *>(get_legacy_runtime_ptr(CPUINFO_PTR_INSTRUCTION_COUNTER));
+ assert(m_icountptr != 0);
+ *m_icountptr = 0;
}