summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/m6502/m6504.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/m6502/m6504.cpp')
-rw-r--r--src/devices/cpu/m6502/m6504.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/m6502/m6504.cpp b/src/devices/cpu/m6502/m6504.cpp
index 4e342fdbd3a..98fba662e60 100644
--- a/src/devices/cpu/m6502/m6504.cpp
+++ b/src/devices/cpu/m6502/m6504.cpp
@@ -29,20 +29,20 @@ void m6504_device::device_start()
uint8_t m6504_device::mi_6504::read(uint16_t adr)
{
- return program->read_byte(adr & 0x1fff);
+ return program.read_byte(adr & 0x1fff);
}
uint8_t m6504_device::mi_6504::read_sync(uint16_t adr)
{
- return scache->read_byte(adr & 0x1fff);
+ return csprogram.read_byte(adr & 0x1fff);
}
uint8_t m6504_device::mi_6504::read_arg(uint16_t adr)
{
- return cache->read_byte(adr & 0x1fff);
+ return cprogram.read_byte(adr & 0x1fff);
}
void m6504_device::mi_6504::write(uint16_t adr, uint8_t val)
{
- program->write_byte(adr & 0x1fff, val);
+ program.write_byte(adr & 0x1fff, val);
}