diff options
Diffstat (limited to 'src/mame/drivers/spc1500.cpp')
-rw-r--r-- | src/mame/drivers/spc1500.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/spc1500.cpp b/src/mame/drivers/spc1500.cpp index a8f89a22825..92a09e4e1ae 100644 --- a/src/mame/drivers/spc1500.cpp +++ b/src/mame/drivers/spc1500.cpp @@ -648,8 +648,8 @@ WRITE8_MEMBER( spc1500_state::double_w) if (offset < 0x1900) { crtc_w(space, offset, data); } else if (offset < 0x1a00) {} 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 < 0x1c00) { m_sound->data_w(data);} else + if (offset < 0x1d00) { m_sound->address_w(data);} else if (offset < 0x1e00) { romsel(space, offset, data);} else if (offset < 0x1f00) { ramsel(space, offset, data);} else if (offset < 0x2000) {} else @@ -675,7 +675,7 @@ READ8_MEMBER( spc1500_state::io_r) 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(offset); } else - if (offset < 0x1c00) { return m_sound->data_r(space, offset); } else + if (offset < 0x1c00) { return m_sound->data_r(); } else if (offset < 0x2000) {} else if (offset < 0x10000){ if (offset < 0x4000) |