mirror of
https://github.com/AppleWin/AppleWin.git
synced 2025-03-09 16:30:42 +00:00
Support '-s6 diskii' and '-s6 diskii13' (#1133)
. so that a diskii card can be re-inserted into an empty slot 6 Improve command line for slots 5&6: -sN diskii and -sN diskii13 . on a restart (or change of config), if that diskii card is already in the slot then ignore . ie. don't lose the image(s) across a restart
This commit is contained in:
parent
69fa53ab7d
commit
a57f2b29a3
@ -786,7 +786,14 @@ static void RepeatInitialization(void)
|
||||
GetCardMgr().Remove(SLOT5);
|
||||
}
|
||||
|
||||
GetCardMgr().Insert(SLOT5, g_cmdLine.slotInsert[SLOT5]);
|
||||
if (GetCardMgr().QuerySlot(SLOT5) != CT_Disk2) // Ignore if already got Disk2 in slot 5
|
||||
GetCardMgr().Insert(SLOT5, g_cmdLine.slotInsert[SLOT5]);
|
||||
}
|
||||
|
||||
if (g_cmdLine.slotInsert[SLOT6] == CT_Disk2) // For now just support Disk2 in slot 6
|
||||
{
|
||||
if (GetCardMgr().QuerySlot(SLOT6) != CT_Disk2) // Ignore if already got Disk2 in slot 6
|
||||
GetCardMgr().Insert(SLOT6, g_cmdLine.slotInsert[SLOT6]);
|
||||
}
|
||||
|
||||
for (UINT i = 0; i < NUM_SLOTS; i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user