diff options
author | 2019-01-31 14:49:38 +0900 | |
---|---|---|
committer | 2019-01-31 14:49:38 +0900 | |
commit | 5563d0dcd6caefa3c2d165cdea0e864f19faff71 (patch) | |
tree | 908e04c99b49cff5e48fd2d96675fbdf0b58dca4 /src/devices/bus/a7800/xboard.cpp | |
parent | edf3b55b78cd220537b1c403af5cb3a15d893cf2 (diff) |
Remove unnecessary address_space arguments on FM sound chips read/write handlers
2203intf.cpp, 2608intf.cpp, 2610intf.cpp, 2612intf.cpp, 262intf.cpp, 3526intf.cpp, 3812intf.cpp, 8950intf.cpp, ym2151.cpp, ym2413.cpp, ymf271.cpp, ymf278b.cpp : Simplified handlers (nw)
Diffstat (limited to 'src/devices/bus/a7800/xboard.cpp')
-rw-r--r-- | src/devices/bus/a7800/xboard.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/a7800/xboard.cpp b/src/devices/bus/a7800/xboard.cpp index d2e610f666e..e99feca0e1e 100644 --- a/src/devices/bus/a7800/xboard.cpp +++ b/src/devices/bus/a7800/xboard.cpp @@ -205,7 +205,7 @@ READ8_MEMBER(a78_xm_device::read_04xx) if (BIT(m_reg, 4) && offset >= 0x50 && offset < 0x60) return m_pokey->read(space, offset & 0x0f); else if (m_ym_enabled && offset >= 0x60 && offset <= 0x61) - return m_ym->read(space, offset & 1); + return m_ym->read(offset & 1); else if (BIT(m_reg, 4) && offset >= 0x60 && offset < 0x70) return m_xbslot->read_04xx(space, offset - 0x10); // access second POKEY else @@ -217,7 +217,7 @@ WRITE8_MEMBER(a78_xm_device::write_04xx) if (BIT(m_reg, 4) && offset >= 0x50 && offset < 0x60) m_pokey->write(space, offset & 0x0f, data); else if (m_ym_enabled && offset >= 0x60 && offset <= 0x61) - m_ym->write(space, offset & 1, data); + m_ym->write(offset & 1, 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) |