Returns the copy protection dongle state of PB2. A return value of -1 means not used by copy protection dongle
| 105 | |
| 106 | // Returns the copy protection dongle state of PB2. A return value of -1 means not used by copy protection dongle |
| 107 | int 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 |
| 123 | int CopyProtectionDonglePDL(UINT pdl) |
no test coverage detected