2022-12-16 09:04:29 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "Common.h"
|
|
|
|
|
2022-12-31 17:32:50 +00:00
|
|
|
// Must be in the same order as in PageAdvanced.cpp
|
2023-07-17 20:02:55 +00:00
|
|
|
enum DONGLETYPE { DT_EMPTY, DT_SDSSPEEDSTAR, DT_CODEWRITER, DT_ROBOCOM500, DT_ROBOCOM1000, DT_ROBOCOM1500 };
|
2022-12-16 09:04:29 +00:00
|
|
|
|
2022-12-31 17:32:50 +00:00
|
|
|
void SetCopyProtectionDongleType(DONGLETYPE type);
|
|
|
|
DONGLETYPE GetCopyProtectionDongleType(void);
|
2023-03-31 11:01:19 +00:00
|
|
|
void DongleControl(WORD address);
|
2022-12-16 09:04:29 +00:00
|
|
|
int CopyProtectionDonglePB0(void);
|
|
|
|
int CopyProtectionDonglePB1(void);
|
|
|
|
int CopyProtectionDonglePB2(void);
|
2023-07-17 20:02:55 +00:00
|
|
|
int CopyProtectionDonglePDL(UINT pdl);
|
2022-12-31 19:51:05 +00:00
|
|
|
|
|
|
|
void CopyProtectionDongleSaveSnapshot(class YamlSaveHelper& yamlSaveHelper);
|
2023-01-01 18:47:21 +00:00
|
|
|
void CopyProtectionDongleLoadSnapshot(class YamlLoadHelper& yamlLoadHelper, UINT version);
|