diff options
Diffstat (limited to 'src/mame/drivers/spc1500.cpp')
-rw-r--r-- | src/mame/drivers/spc1500.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/spc1500.cpp b/src/mame/drivers/spc1500.cpp index 59279757096..03ec48c0495 100644 --- a/src/mame/drivers/spc1500.cpp +++ b/src/mame/drivers/spc1500.cpp @@ -647,7 +647,7 @@ WRITE8_MEMBER( spc1500_state::double_w) if (offset < 0x1800) { pcg_w(space, offset, data); } else if (offset < 0x1900) { crtc_w(space, offset, data); } else if (offset < 0x1a00) {} else - if (offset < 0x1b00) { m_pio->write(space, offset, data);} else + if (offset < 0x1b00) { m_pio->write(offset, data); } else if (offset < 0x1c00) { m_sound->data_w(space, offset, data);} else if (offset < 0x1d00) { m_sound->address_w(space, offset, data);} else if (offset < 0x1e00) { romsel(space, offset, data);} else @@ -674,7 +674,7 @@ READ8_MEMBER( spc1500_state::io_r) if (offset < 0x1800) { return pcg_r(space, offset); } else if (offset < 0x1900) { return crtc_r(space, offset); } else if (offset < 0x1a00) { return keyboard_r(space, offset); } else - if (offset < 0x1b00) { return m_pio->read(space, offset); } else + if (offset < 0x1b00) { return m_pio->read(offset); } else if (offset < 0x1c00) { return m_sound->data_r(space, offset); } else if (offset < 0x2000) {} else if (offset < 0x10000){ |