trunk/src/mess/drivers/atari400.c
| r32299 | r32300 | |
| 1735 | 1735 | |
| 1736 | 1736 | WRITE8_MEMBER(a400_state::disable_cart) |
| 1737 | 1737 | { |
| 1738 | | switch (m_cartslot->exists() && m_cartslot->get_cart_type()) |
| 1738 | if (m_cartslot->exists()) |
| 1739 | switch (m_cartslot->get_cart_type()) |
| 1739 | 1740 | { |
| 1740 | 1741 | case A800_PHOENIX: |
| 1741 | 1742 | case A800_BLIZZARD: |
| r32299 | r32300 | |
| 1834 | 1835 | m_cart_disabled = 0; |
| 1835 | 1836 | m_last_offs = -1; |
| 1836 | 1837 | |
| 1837 | | switch (slot->exists() && slot->get_cart_type()) |
| 1838 | if (slot->exists()) |
| 1839 | switch (slot->get_cart_type()) |
| 1838 | 1840 | { |
| 1839 | 1841 | case A800_8K: |
| 1840 | 1842 | m_maincpu->space(AS_PROGRAM).install_read_handler(0xa000, 0xbfff, read8_delegate(FUNC(a800_cart_slot_device::read_80xx),(a800_cart_slot_device*)slot)); |