diff options
Diffstat (limited to 'src/mame/machine/decocpu6.cpp')
-rw-r--r-- | src/mame/machine/decocpu6.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/decocpu6.cpp b/src/mame/machine/decocpu6.cpp index 64729a28cf0..bc167c5e35f 100644 --- a/src/mame/machine/decocpu6.cpp +++ b/src/mame/machine/decocpu6.cpp @@ -31,9 +31,9 @@ void deco_cpu6_device::device_reset() uint8_t deco_cpu6_device::mi_decrypt::read_sync(uint16_t adr) { if (adr&1) - return bitswap<8>(cache->read_byte(adr),6,4,7,5,3,2,1,0); + return bitswap<8>(cprogram.read_byte(adr),6,4,7,5,3,2,1,0); else - return cache->read_byte(adr); + return cprogram.read_byte(adr); } std::unique_ptr<util::disasm_interface> deco_cpu6_device::create_disassembler() |