Skip to content

Commit dcefa18

Browse files
authored
Merge pull request #50 from sp1187/cic
si: Add support for 7102 CIC.
2 parents 0d0e042 + 51cd3ee commit dcefa18

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

si/cic.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
#define CRC_NUS_5101 0x587BD543U
2323
#define CRC_NUS_6101 0x6170A4A1U
24+
#define CRC_NUS_7102 0x009E9EA3U
2425
#define CRC_NUS_6102 0x90BB6CB5U
2526
#define CRC_NUS_6103 0x0B050EE0U
2627
#define CRC_NUS_6105 0x98BC2C86U
@@ -37,6 +38,7 @@ int get_cic_seed(const uint8_t *rom_data, uint32_t *cic_seed) {
3738
if (aleck64crc == CRC_NUS_5101) *cic_seed = CIC_SEED_NUS_5101;
3839
else switch (crc) {
3940
case CRC_NUS_6101:
41+
case CRC_NUS_7102:
4042
*cic_seed = CIC_SEED_NUS_6101;
4143
break;
4244

0 commit comments

Comments
 (0)