mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-21 07:17:41 +00:00
Improve fix for #1428
This commit is contained in:
@@ -221,6 +221,11 @@ void CardManager::InsertAuxInternal(SS_CARDTYPE type)
|
||||
|
||||
void CardManager::InsertAux(SS_CARDTYPE type, bool updateRegistry/*=true*/)
|
||||
{
|
||||
// Only update aux slot if a //e or above (GH#1428)
|
||||
// ...otherwise we'll lose the card in the aux slot when switching //e -> II+ -> //e
|
||||
if (!IsAppleIIeOrAbove(GetApple2Type()))
|
||||
return;
|
||||
|
||||
InsertAuxInternal(type);
|
||||
if (updateRegistry)
|
||||
{
|
||||
|
||||
+1
-6
@@ -368,12 +368,7 @@ void SetExpansionMemType(const SS_CARDTYPE type, bool updateRegistry/*=true*/)
|
||||
}
|
||||
|
||||
GetCardMgr().Insert(SLOT0, newSlot0Card);
|
||||
if (IsAppleIIeOrAbove(GetApple2Type()))
|
||||
{
|
||||
// Only update aux slot if a //e or above (GH#1428)
|
||||
// ...otherwise we'll lose the card in the aux slot when switching //e -> II+ -> //e
|
||||
GetCardMgr().InsertAux(newSlotAuxCard, updateRegistry);
|
||||
}
|
||||
GetCardMgr().InsertAux(newSlotAuxCard, updateRegistry);
|
||||
}
|
||||
|
||||
void CreateLanguageCard(void)
|
||||
|
||||
Reference in New Issue
Block a user