mirror of
https://github.com/sanni/cartreader.git
synced 2025-01-14 14:09:06 +01:00
Update MD.ino
Thanks to psychofox : - Fix Madden NFL 98 (USA) - More aftermarket games added
This commit is contained in:
parent
4de1c52798
commit
6d89a279f2
@ -833,6 +833,10 @@ void getCartInfo_MD() {
|
||||
}
|
||||
if (cartSize == 0x80000) {
|
||||
switch (chksum) {
|
||||
case 0x06C1: // Madden NFL 98 (USA)
|
||||
cartSize = 0x200000;
|
||||
chksum = 0x8473;
|
||||
break;
|
||||
case 0x5B3A: // NHL 98 (USA)
|
||||
cartSize = 0x200000;
|
||||
chksum = 0x5613;
|
||||
@ -956,6 +960,34 @@ void getCartInfo_MD() {
|
||||
cartSize = 0x400000;
|
||||
}
|
||||
|
||||
// Sasha Darko's Sacred Line (Watermelon Release) (Aftermarket)
|
||||
if (!strncmp("GM T-574323-00", id, 14) && (chksum == 0xAEDD)) {
|
||||
cartSize = 0x400000;
|
||||
}
|
||||
|
||||
// Kromasphere (Aftermarket)
|
||||
if (!strncmp("GM MK-0000 -00", id, 14) && (chksum == 0xC536)) {
|
||||
chksum = 0xFAB1;
|
||||
cartSize = 0x200000;
|
||||
}
|
||||
|
||||
// YM2017 (Aftermarket)
|
||||
if (!strncmp("GM CSET0001-02", id, 14) && (chksum == 0x0000)) {
|
||||
chksum = 0xE3A9;
|
||||
}
|
||||
|
||||
// The Curse of Illmore Bay (Aftermarket)
|
||||
if (!strncmp("1774 ", id, 14) && (chksum == 0x0000)) {
|
||||
chksum = 0x6E34;
|
||||
cartSize = 0x400000;
|
||||
}
|
||||
|
||||
// Coffee Crisis (Aftermarket)
|
||||
if (!strncmp("JN-20160131-03", id, 14) && (chksum == 0x0000)) {
|
||||
chksum = 0x8040;
|
||||
cartSize = 0x400000;
|
||||
}
|
||||
|
||||
// Sonic & Knuckles Check
|
||||
SnKmode = 0;
|
||||
if (chksum == 0xDFB3) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user