summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author arbee <rb6502@users.noreply.github.com>2015-08-20 09:30:16 -0400
committer arbee <rb6502@users.noreply.github.com>2015-08-20 09:30:16 -0400
commit4a8f446595665ce16a2acb5771aa86ef32b3c09f (patch)
tree7cc78becfae451ba655d0ce48b17715e88b0aaea /src
parent4043b55acbc5e7ef63170c606c5afa75e4fedc7b (diff)
apple2e: attempt to fix crash in 64k configuration. (nw)
Diffstat (limited to 'src')
-rw-r--r--src/mess/drivers/apple2e.c7
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
{