Skip to content

Commit

Permalink
Merge pull request #50 from sp1187/cic
Browse files Browse the repository at this point in the history
si: Add support for 7102 CIC.
  • Loading branch information
tj90241 authored Oct 21, 2016
2 parents 0d0e042 + 51cd3ee commit dcefa18
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions si/cic.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

#define CRC_NUS_5101 0x587BD543U
#define CRC_NUS_6101 0x6170A4A1U
#define CRC_NUS_7102 0x009E9EA3U
#define CRC_NUS_6102 0x90BB6CB5U
#define CRC_NUS_6103 0x0B050EE0U
#define CRC_NUS_6105 0x98BC2C86U
Expand All @@ -37,6 +38,7 @@ int get_cic_seed(const uint8_t *rom_data, uint32_t *cic_seed) {
if (aleck64crc == CRC_NUS_5101) *cic_seed = CIC_SEED_NUS_5101;
else switch (crc) {
case CRC_NUS_6101:
case CRC_NUS_7102:
*cic_seed = CIC_SEED_NUS_6101;
break;

Expand Down

0 comments on commit dcefa18

Please sign in to comment.