removed incorrect aleck 64 cic checksums

This commit is contained in:
Mateusz Faderewski 2023-12-13 22:28:45 +01:00
parent 9190a5a51b
commit f4ffacd9b4
2 changed files with 0 additions and 4 deletions

View File

@ -113,9 +113,6 @@ cic_type_t cic_detect (uint8_t *ipl3) {
switch (cic_calculate_ipl3_checksum(ipl3, 0x91)) { switch (cic_calculate_ipl3_checksum(ipl3, 0x91)) {
case 0x8618A45BC2D3ULL: return CIC_x105; // 6105 / 7105 case 0x8618A45BC2D3ULL: return CIC_x105; // 6105 / 7105
} }
switch (cic_calculate_ipl3_checksum(ipl3, 0xAC)) {
case 0x5930D81014DAULL: return CIC_5101; // Aleck 64
}
switch (cic_calculate_ipl3_checksum(ipl3, 0xDD)) { switch (cic_calculate_ipl3_checksum(ipl3, 0xDD)) {
case 0x6EE8D9E84970ULL: return CIC_8401; // NDXJ0 case 0x6EE8D9E84970ULL: return CIC_8401; // NDXJ0
case 0x6C216495C8B9ULL: return CIC_8301; // NDDJ0 case 0x6C216495C8B9ULL: return CIC_8301; // NDDJ0

View File

@ -112,7 +112,6 @@ fn calculate_ipl3_checksum(ipl3: &[u8], seed: u8) -> Result<u64, Error> {
pub fn sign_ipl3(ipl3: &[u8]) -> Result<(u8, u64), Error> { pub fn sign_ipl3(ipl3: &[u8]) -> Result<(u8, u64), Error> {
let known_seed_checksum_pairs = [ let known_seed_checksum_pairs = [
(0xAC, 0x5930D81014DAu64), // 5101
(0xDD, 0x083C6C77E0B1u64), // 5167 (0xDD, 0x083C6C77E0B1u64), // 5167
(0x3F, 0x45CC73EE317Au64), // 6101 (0x3F, 0x45CC73EE317Au64), // 6101
(0x3F, 0x44160EC5D9AFu64), // 7102 (0x3F, 0x44160EC5D9AFu64), // 7102