diff options
Diffstat (limited to 'src/devices/bus/a7800/xboard.cpp')
-rw-r--r-- | src/devices/bus/a7800/xboard.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/a7800/xboard.cpp b/src/devices/bus/a7800/xboard.cpp index e99feca0e1e..0005e595a88 100644 --- a/src/devices/bus/a7800/xboard.cpp +++ b/src/devices/bus/a7800/xboard.cpp @@ -158,7 +158,7 @@ WRITE8_MEMBER(a78_xboard_device::write_40xx) READ8_MEMBER(a78_xboard_device::read_04xx) { if (BIT(m_reg, 4) && offset >= 0x50 && offset < 0x60) - return m_pokey->read(space, offset & 0x0f); + return m_pokey->read(offset & 0x0f); else if (BIT(m_reg, 4) && offset >= 0x60 && offset < 0x70) return m_xbslot->read_04xx(space, offset - 0x10); // access second POKEY else @@ -168,7 +168,7 @@ READ8_MEMBER(a78_xboard_device::read_04xx) WRITE8_MEMBER(a78_xboard_device::write_04xx) { if (BIT(m_reg, 4) && offset >= 0x50 && offset < 0x60) - m_pokey->write(space, offset & 0x0f, data); + m_pokey->write(offset & 0x0f, data); else if (BIT(m_reg, 4) && offset >= 0x60 && offset < 0x70) m_xbslot->write_04xx(space, offset - 0x10, data); // access second POKEY else if (offset >= 0x70 && offset < 0x80) @@ -203,7 +203,7 @@ READ8_MEMBER(a78_xm_device::read_30xx) READ8_MEMBER(a78_xm_device::read_04xx) { if (BIT(m_reg, 4) && offset >= 0x50 && offset < 0x60) - return m_pokey->read(space, offset & 0x0f); + return m_pokey->read(offset & 0x0f); else if (m_ym_enabled && offset >= 0x60 && offset <= 0x61) return m_ym->read(offset & 1); else if (BIT(m_reg, 4) && offset >= 0x60 && offset < 0x70) @@ -215,7 +215,7 @@ READ8_MEMBER(a78_xm_device::read_04xx) WRITE8_MEMBER(a78_xm_device::write_04xx) { if (BIT(m_reg, 4) && offset >= 0x50 && offset < 0x60) - m_pokey->write(space, offset & 0x0f, data); + m_pokey->write(offset & 0x0f, data); else if (m_ym_enabled && offset >= 0x60 && offset <= 0x61) m_ym->write(offset & 1, data); else if (BIT(m_reg, 4) && offset >= 0x60 && offset < 0x70) |