mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-21 23:16:39 +00:00
Changes: - Add a drop-down menu to the 'Advanced' tab that lets the user select a dongle in use - Add a new file "CopyProtectionDongles.cpp" that is a place to put drivers for these. - Add a driver for the one known dongle we have now - Speed Star - Modify Joystick.cpp to allow PB0-PB2 to be "pushed" by the protection dongle.
This commit is contained in:
@@ -47,6 +47,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#include "Mockingboard.h"
|
||||
#include "Interface.h"
|
||||
#include "SoundCore.h"
|
||||
#include "CopyProtectionDongles.h"
|
||||
|
||||
#include "Configuration/IPropertySheet.h"
|
||||
#include "Tfe/PCapBackend.h"
|
||||
@@ -167,6 +168,13 @@ void LoadConfiguration(bool loadImages)
|
||||
else
|
||||
LoadConfigOldJoystick_v1(JN_JOYSTICK1);
|
||||
|
||||
|
||||
DWORD copyProtectionDongleType;
|
||||
if (REGLOAD(TEXT(REGVALUE_COPYPROTECTIONDONGLE_TYPE), ©ProtectionDongleType))
|
||||
SetCopyProtectionDongleType(copyProtectionDongleType);
|
||||
else
|
||||
SetCopyProtectionDongleType(0); // None
|
||||
|
||||
DWORD dwSoundType;
|
||||
REGLOAD_DEFAULT(TEXT(REGVALUE_SOUND_EMULATION), &dwSoundType, REG_SOUNDTYPE_WAVE);
|
||||
switch (dwSoundType)
|
||||
|
||||
Reference in New Issue
Block a user