SAM card: refactor as a class, and support save/load state

This commit is contained in:
tomcw
2021-09-18 11:55:29 +01:00
parent f85e175328
commit 10a83eed61
6 changed files with 77 additions and 8 deletions
+1 -1
View File
@@ -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)
{