mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 00:17:16 +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:
@@ -168,12 +168,12 @@ void LoadConfiguration(bool loadImages)
|
||||
else
|
||||
LoadConfigOldJoystick_v1(JN_JOYSTICK1);
|
||||
|
||||
|
||||
DWORD copyProtectionDongleType;
|
||||
if (REGLOAD(TEXT(REGVALUE_COPYPROTECTIONDONGLE_TYPE), ©ProtectionDongleType))
|
||||
SetCopyProtectionDongleType(copyProtectionDongleType);
|
||||
std::string regSection = RegGetConfigSlotSection(GAME_IO_CONNECTOR);
|
||||
if (RegLoadValue(regSection.c_str(), REGVALUE_GAME_IO_TYPE, TRUE, ©ProtectionDongleType))
|
||||
SetCopyProtectionDongleType((DONGLETYPE)copyProtectionDongleType);
|
||||
else
|
||||
SetCopyProtectionDongleType(0); // None
|
||||
SetCopyProtectionDongleType(DT_EMPTY);
|
||||
|
||||
DWORD dwSoundType;
|
||||
REGLOAD_DEFAULT(TEXT(REGVALUE_SOUND_EMULATION), &dwSoundType, REG_SOUNDTYPE_WAVE);
|
||||
|
||||
Reference in New Issue
Block a user