diff options
-rw-r--r-- | src/mame/machine/apple3.cpp | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/src/mame/machine/apple3.cpp b/src/mame/machine/apple3.cpp index 49ebc9a5ba1..c1cb5e0aa27 100644 --- a/src/mame/machine/apple3.cpp +++ b/src/mame/machine/apple3.cpp @@ -816,10 +816,6 @@ uint8_t apple3_state::apple3_memory_r(offs_t offset) } else { - if (machine().side_effects_disabled()) - { - return 0xff; - } /* now identify the device */ device_a2bus_card_interface *slotdevice = m_a2bus->get_a2bus_card((offset>>8) & 0x7); @@ -852,15 +848,15 @@ uint8_t apple3_state::apple3_memory_r(offs_t offset) { m_cnxx_slot = -1; } + } - if (m_cnxx_slot != -1) - { - device_a2bus_card_interface *slotdevice = m_a2bus->get_a2bus_card(m_cnxx_slot); + if (m_cnxx_slot != -1) + { + device_a2bus_card_interface *slotdevice = m_a2bus->get_a2bus_card(m_cnxx_slot); - if (slotdevice != nullptr) - { - rv = slotdevice->read_c800(offset&0x7ff); - } + if (slotdevice != nullptr) + { + rv = slotdevice->read_c800(offset&0x7ff); } } } |