Add 4Play & SNES MAX card support (#946, #972, PR #982)

Support these new cards in slots 3, 4 or 5; based on code from Lukazi.
- extend Configuration's Input prop sheet page.
- add save/load snapshot for both cards.
- add command line switch for alt controller type (for SNES MAX card).
Change to using Registry's 'Configuration\Slot 3' for slot 3 cards (Uthernet, 4Play & SNES MAX).
Update help doc.
This commit is contained in:
TomCh
2021-09-10 13:57:55 +01:00
committed by GitHub
parent 7f2dd9727d
commit 685b93f387
35 changed files with 1000 additions and 108 deletions
+8
View File
@@ -510,6 +510,14 @@ bool ProcessCmdLine(LPSTR lpCmdLine)
{
g_cmdLine.bRemoveNoSlotClock = true;
}
else if (strcmp(lpCmdLine, "-snes-max-alt-joy1") == 0)
{
g_cmdLine.snesMaxAltControllerType[0] = true;
}
else if (strcmp(lpCmdLine, "-snes-max-alt-joy2") == 0)
{
g_cmdLine.snesMaxAltControllerType[1] = true;
}
else // unsupported
{
LogFileOutput("Unsupported arg: %s\n", lpCmdLine);