MCPcopy Create free account
hub / github.com/AppleWin/AppleWin / CopyProtectionDonglePB2

Function CopyProtectionDonglePB2

source/CopyProtectionDongles.cpp:107–120  ·  view source on GitHub ↗

Returns the copy protection dongle state of PB2. A return value of -1 means not used by copy protection dongle

Source from the content-addressed store, hash-verified

105
106// Returns the copy protection dongle state of PB2. A return value of -1 means not used by copy protection dongle
107int CopyProtectionDonglePB2(void)
108{
109 switch (copyProtectionDongleType)
110 {
111 case DT_SDSSPEEDSTAR:
112 return SdsSpeedStar();
113
114 case DT_CODEWRITER:
115 return codewriterLFSR & 1;
116
117 default:
118 return -1;
119 }
120}
121
122// Returns the copy protection dongle state of PDL(n). A return value of -1 means not used by copy protection dongle
123int CopyProtectionDonglePDL(UINT pdl)

Callers 1

JoyReadButtonFunction · 0.85

Calls 1

SdsSpeedStarFunction · 0.85

Tested by

no test coverage detected