diff options
author | 2019-02-01 09:24:46 -0500 | |
---|---|---|
committer | 2019-02-01 09:24:58 -0500 | |
commit | b0e926586b5966160e2c0861132ccbeb3a35ebbd (patch) | |
tree | 027e83da4dce38cfd89465bc745dea304f86a8b9 /src/devices/bus/a7800/rom.cpp | |
parent | 83b1e31234aa2a9cc483a4c33d40bad1b523db19 (diff) |
okim6376, pokey: Remove address_space and mem_mask arguments from read/write handlers (nw)
Diffstat (limited to 'src/devices/bus/a7800/rom.cpp')
-rw-r--r-- | src/devices/bus/a7800/rom.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/a7800/rom.cpp b/src/devices/bus/a7800/rom.cpp index b40eea850c4..ea646db2770 100644 --- a/src/devices/bus/a7800/rom.cpp +++ b/src/devices/bus/a7800/rom.cpp @@ -229,7 +229,7 @@ READ8_MEMBER(a78_rom_device::read_40xx) READ8_MEMBER(a78_rom_pokey_device::read_40xx) { if (offset < 0x4000) - return m_pokey->read(space, offset & 0x0f); + return m_pokey->read(offset & 0x0f); if (offset + 0x4000 < m_base_rom) return 0xff; @@ -240,7 +240,7 @@ READ8_MEMBER(a78_rom_pokey_device::read_40xx) WRITE8_MEMBER(a78_rom_pokey_device::write_40xx) { if (offset < 0x4000) - m_pokey->write(space, offset & 0x0f, data); + m_pokey->write(offset & 0x0f, data); } // TO DO: do we need a PAL variant?!? @@ -327,7 +327,7 @@ WRITE8_MEMBER(a78_rom_sg_device::write_40xx) READ8_MEMBER(a78_rom_sg_pokey_device::read_40xx) { if (offset < 0x4000) - return m_pokey->read(space, offset & 0x0f); + return m_pokey->read(offset & 0x0f); else if (offset < 0x8000) return m_rom[(offset & 0x3fff) + (m_bank * 0x4000)]; else @@ -337,7 +337,7 @@ READ8_MEMBER(a78_rom_sg_pokey_device::read_40xx) WRITE8_MEMBER(a78_rom_sg_pokey_device::write_40xx) { if (offset < 0x4000) - m_pokey->write(space, offset & 0x0f, data); + m_pokey->write(offset & 0x0f, data); else if (offset < 0x8000) m_bank = data & m_bank_mask; } |