mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 15:17:50 +00:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user