diff options
Diffstat (limited to 'src/devices/bus/iq151/staper.cpp')
-rw-r--r-- | src/devices/bus/iq151/staper.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/devices/bus/iq151/staper.cpp b/src/devices/bus/iq151/staper.cpp index 2c7acb98bfa..8fc13d77781 100644 --- a/src/devices/bus/iq151/staper.cpp +++ b/src/devices/bus/iq151/staper.cpp @@ -87,10 +87,8 @@ void iq151_staper_device::device_timer(emu_timer &timer, device_timer_id id, int void iq151_staper_device::io_read(offs_t offset, uint8_t &data) { - address_space& space = machine().device("maincpu")->memory().space(AS_IO); - if (offset >= 0xf8 && offset < 0xfc) - data = m_ppi->read(space, offset & 0x03); + data = m_ppi->read(machine().dummy_space(), offset & 0x03); } //------------------------------------------------- @@ -99,10 +97,8 @@ void iq151_staper_device::io_read(offs_t offset, uint8_t &data) void iq151_staper_device::io_write(offs_t offset, uint8_t data) { - address_space& space = machine().device("maincpu")->memory().space(AS_IO); - if (offset >= 0xf8 && offset < 0xfc) - m_ppi->write(space, offset & 0x03, data); + m_ppi->write(machine().dummy_space(), offset & 0x03, data); } |