diff options
-rw-r--r-- | src/mess/drivers/apple2e.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/mess/drivers/apple2e.c b/src/mess/drivers/apple2e.c index 55b74c579b8..617c96c3b23 100644 --- a/src/mess/drivers/apple2e.c +++ b/src/mess/drivers/apple2e.c @@ -610,8 +610,11 @@ void apple2e_state::machine_start() if (m_a2eauxslot) { m_auxslotdevice = m_a2eauxslot->get_a2eauxslot_card(); - m_aux_ptr = m_auxslotdevice->get_vram_ptr(); - m_aux_bank_ptr = m_auxslotdevice->get_auxbank_ptr(); + if (m_auxslotdevice) + { + m_aux_ptr = m_auxslotdevice->get_vram_ptr(); + m_aux_bank_ptr = m_auxslotdevice->get_auxbank_ptr(); + } } else // IIc has 128K right on the motherboard { |