mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 15:17:50 +00:00
SAM card: refactor as a class, and support save/load state
This commit is contained in:
+1
-1
@@ -1771,7 +1771,7 @@ void MemInitializeIO(void)
|
||||
}
|
||||
else if (GetCardMgr().QuerySlot(SLOT5) == CT_SAM)
|
||||
{
|
||||
ConfigureSAM(pCxRomPeripheral, SLOT5); // $C500 : SAM card
|
||||
dynamic_cast<SAMCard&>(GetCardMgr().GetRef(SLOT5)).InitializeIO(pCxRomPeripheral, SLOT5);
|
||||
}
|
||||
else if (GetCardMgr().QuerySlot(SLOT5) == CT_FourPlay)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user