diff options
Diffstat (limited to 'src/mame/machine/sms.cpp')
-rw-r--r-- | src/mame/machine/sms.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/sms.cpp b/src/mame/machine/sms.cpp index 8941b2513f2..2a1f57da928 100644 --- a/src/mame/machine/sms.cpp +++ b/src/mame/machine/sms.cpp @@ -800,7 +800,7 @@ WRITE8_MEMBER(sms_state::sms_mem_control_w) READ8_MEMBER(sms_state::sg1000m3_peripheral_r) { bool joy_ports_disabled = m_sgexpslot->is_readable(offset); - + if (joy_ports_disabled) { return m_sgexpslot->read(space, offset); @@ -818,7 +818,7 @@ READ8_MEMBER(sms_state::sg1000m3_peripheral_r) WRITE8_MEMBER(sms_state::sg1000m3_peripheral_w) { bool joy_ports_disabled = m_sgexpslot->is_writeable(offset); - + if (joy_ports_disabled) { m_sgexpslot->write(space, offset, data); |