Add a new Registry Configuration interface: "Game I/O Connector" (like Slots).

Change Config->Advanced to show 'Game I/O Connector' (instead of 'Copy Protection Dongle').
This commit is contained in:
tomcw
2022-12-31 17:32:50 +00:00
parent be62e7afa5
commit 043bc49f3d
11 changed files with 53 additions and 32 deletions
+5 -8
View File
@@ -4,7 +4,7 @@
Copyright (C) 1994-1996, Michael O'Brien
Copyright (C) 1999-2001, Oliver Schmidt
Copyright (C) 2002-2005, Tom Charlesworth
Copyright (C) 2006-2007, Tom Charlesworth, Michael Pohoreski
Copyright (C) 2006-2022, Tom Charlesworth, Michael Pohoreski
AppleWin is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -35,17 +35,14 @@
#include "CopyProtectionDongles.h"
#include "Memory.h"
static DWORD copyProtectionDongleType = 0;
static DONGLETYPE copyProtectionDongleType = DT_EMPTY;
// Must be in the same order as in PageAdvanced.cpp
enum COPYPROTECTIONDONGLETYPE { NONE, SDSSPEEDSTAR };
void SetCopyProtectionDongleType(DWORD type)
void SetCopyProtectionDongleType(DONGLETYPE type)
{
copyProtectionDongleType = type;
}
DWORD GetCopyProtectionDongleType(void)
DONGLETYPE GetCopyProtectionDongleType(void)
{
return copyProtectionDongleType;
}
@@ -74,7 +71,7 @@ int CopyProtectionDonglePB2(void)
{
switch (copyProtectionDongleType)
{
case SDSSPEEDSTAR: // Southwestern Data Systems SoftKey for Speed Star Applesoft Compiler
case DT_SDSSPEEDSTAR: // Southwestern Data Systems SoftKey for Speed Star Applesoft Compiler
return SdsSpeedStar();
break;