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
+2 -1
View File
@@ -195,7 +195,8 @@ void RegDeleteConfigSlotSection(UINT slot)
if (status == ERROR_SUCCESS)
{
std::string& keySlot = RegGetSlotSection(slot);
if (RegDeleteKey(keyhandle, keySlot.c_str()) != ERROR_SUCCESS)
LSTATUS status2 = RegDeleteKey(keyhandle, keySlot.c_str());
if (status2 != ERROR_SUCCESS && status2 != ERROR_FILE_NOT_FOUND)
_ASSERT(0);
}