diff options
Diffstat (limited to 'src/devices/bus/snes/rom21.cpp')
-rw-r--r-- | src/devices/bus/snes/rom21.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/snes/rom21.cpp b/src/devices/bus/snes/rom21.cpp index 91c61394688..8cc1f6fddb6 100644 --- a/src/devices/bus/snes/rom21.cpp +++ b/src/devices/bus/snes/rom21.cpp @@ -66,14 +66,14 @@ void sns_rom21_srtc_device::device_reset() // low and hi reads are not the same! (different ROM banks are accessed) -READ8_MEMBER(sns_rom21_device::read_l) +uint8_t sns_rom21_device::read_l(offs_t offset) { // here ROM banks from 128 to 255, mirrored twice int bank = (offset & 0x3fffff) / 0x8000; return m_rom[rom_bank_map[bank + 0x80] * 0x8000 + (offset & 0x7fff)]; } -READ8_MEMBER(sns_rom21_device::read_h) +uint8_t sns_rom21_device::read_h(offs_t offset) { // here ROM banks from 0 to 127, mirrored twice int bank = (offset & 0x3fffff) / 0x8000; @@ -173,7 +173,7 @@ uint8_t sns_rom21_srtc_device::srtc_weekday( uint32_t year, uint32_t month, uint // this gets called only for accesses at 0x2800, // because for 0x2801 open bus gets returned... -READ8_MEMBER(sns_rom21_srtc_device::chip_read) +uint8_t sns_rom21_srtc_device::chip_read(offs_t offset) { if (m_mode != RTCM_Read) return 0x00; @@ -194,7 +194,7 @@ READ8_MEMBER(sns_rom21_srtc_device::chip_read) } // this gets called only for accesses at 0x2801 -WRITE8_MEMBER(sns_rom21_srtc_device::chip_write) +void sns_rom21_srtc_device::chip_write(offs_t offset, uint8_t data) { data &= 0x0f; // Only the low four bits are used |