From 4a8f446595665ce16a2acb5771aa86ef32b3c09f Mon Sep 17 00:00:00 2001 From: arbee Date: Thu, 20 Aug 2015 09:30:16 -0400 Subject: apple2e: attempt to fix crash in 64k configuration. (nw) --- src/mess/drivers/apple2e.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src') 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 { -- cgit v1.2.3-70-g09d2