apple2e: attempt to fix crash in 64k configuration. (nw)

This commit is contained in:
arbee 2015-08-20 09:30:16 -04:00
parent 4043b55acb
commit 4a8f446595

View File

@ -610,9 +610,12 @@ void apple2e_state::machine_start()
if (m_a2eauxslot) if (m_a2eauxslot)
{ {
m_auxslotdevice = m_a2eauxslot->get_a2eauxslot_card(); m_auxslotdevice = m_a2eauxslot->get_a2eauxslot_card();
if (m_auxslotdevice)
{
m_aux_ptr = m_auxslotdevice->get_vram_ptr(); m_aux_ptr = m_auxslotdevice->get_vram_ptr();
m_aux_bank_ptr = m_auxslotdevice->get_auxbank_ptr(); m_aux_bank_ptr = m_auxslotdevice->get_auxbank_ptr();
} }
}
else // IIc has 128K right on the motherboard else // IIc has 128K right on the motherboard
{ {
m_auxslotdevice = NULL; m_auxslotdevice = NULL;