Skip to content

Commit

Permalink
Add more cart info
Browse files Browse the repository at this point in the history
Correct COLOR flag for BANC09 and BANC0E

Add info for Mobile WonderGate v1.1 cart

Add developer name "SCC"
  • Loading branch information
splash5 committed Feb 26, 2022
1 parent 9732c4a commit 4a0cb10
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Cart_Reader/WS.ino
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ uint8_t getCartInfo_WS()
// games missing 'COLOR' flag
case 0x26db: // SQRC01
case 0xbfdf: // SUMC07
case 0x50ca: // BANC09
case 0x9238: // BANC0E
{
sdBuffer[7] |= 0x01;
break;
Expand Down Expand Up @@ -303,6 +305,12 @@ uint8_t getCartInfo_WS()
}
}
}
else if (sdBuffer[6] == 0x2a && sdBuffer[8] == 0x01 && sdBuffer[9] == 0x01)
{
// Mobile WonderGate v1.1, checksum is filled with 0x0000
wsGameChecksum = 0x1da0;
}

break;
}
}
Expand Down Expand Up @@ -435,6 +443,7 @@ void getDeveloperName(uint8_t id, char *buf, size_t length)
case 0x26: devName = PSTR("KDK"); break;
case 0x27: devName = PSTR("SHL"); break;
case 0x28: devName = PSTR("SQR"); break;
case 0x2a: devName = PSTR("SCC"); break;
case 0x2b: devName = PSTR("TMC"); break;
case 0x2d: devName = PSTR("NMC"); break;
case 0x2e: devName = PSTR("SES"); break;
Expand Down

0 comments on commit 4a0cb10

Please sign in to comment.