diff options
Diffstat (limited to 'src/devices/cpu/m6502/m6507.cpp')
-rw-r--r-- | src/devices/cpu/m6502/m6507.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/cpu/m6502/m6507.cpp b/src/devices/cpu/m6502/m6507.cpp index aa4a0726aa8..a42aff44c2f 100644 --- a/src/devices/cpu/m6502/m6507.cpp +++ b/src/devices/cpu/m6502/m6507.cpp @@ -29,20 +29,20 @@ void m6507_device::device_start() uint8_t m6507_device::mi_6507::read(uint16_t adr) { - return program->read_byte(adr & 0x1fff); + return program.read_byte(adr & 0x1fff); } uint8_t m6507_device::mi_6507::read_sync(uint16_t adr) { - return scache->read_byte(adr & 0x1fff); + return csprogram.read_byte(adr & 0x1fff); } uint8_t m6507_device::mi_6507::read_arg(uint16_t adr) { - return cache->read_byte(adr & 0x1fff); + return cprogram.read_byte(adr & 0x1fff); } void m6507_device::mi_6507::write(uint16_t adr, uint8_t val) { - program->write_byte(adr & 0x1fff, val); + program.write_byte(adr & 0x1fff, val); } |