. Default to SSI263AP (ie. with reset fixed)
. Support SSI263 type set from cmd-line: SSI263P, SSI263AP or empty
. Support SC01 type set from cmd-line: SC01 or empty
. Save-state: MB v14: support SSI263 & SC01 type (including Empty)
This commit is contained in:
tomcw
2025-06-08 12:42:55 +01:00
parent 001ffe8dee
commit 552d830045
8 changed files with 117 additions and 39 deletions
+4 -1
View File
@@ -817,12 +817,15 @@ static void RepeatInitialization(void)
dynamic_cast<MockingboardCard&>(GetCardMgr().GetRef(i)).UseBad6522A();
if (g_cmdLine.slotInfo[i].useBad6522B)
dynamic_cast<MockingboardCard&>(GetCardMgr().GetRef(i)).UseBad6522B();
for (UINT socket = 0; socket < 2; socket++)
for (UINT socket = 0; socket <= NUM_SSI263; socket++)
{
const SSI263Type type = g_cmdLine.slotInfo[i].socketSSI263[socket];
if (type != SSI263Unknown)
dynamic_cast<MockingboardCard&>(GetCardMgr().GetRef(i)).SetSocketSSI263(socket, type);
}
const SSI263Type type = g_cmdLine.slotInfo[i].socketSC01;
if (type != SSI263Unknown)
dynamic_cast<MockingboardCard&>(GetCardMgr().GetRef(i)).SetSocketSC01(type);
}
}