Update MD.ino

Add "Dynamite Headdy (USA, Europe)", "NHL 98 (USA)", "Gain Ground (USA)", "Wonder Boy III - Monster Lair (Japan, Europe) (En)"
This commit is contained in:
Ancyker 2023-08-25 03:54:38 -04:00
parent ec3d048172
commit d99e2d4040

View File

@ -783,6 +783,9 @@ void getCartInfo_MD() {
}
if (cartSize == 0x200000) {
switch (chksum) {
case 0x2078: //Dynamite Headdy (USA, Europe)
chksum = 0x9877;
break;
case 0xAE95: //Winter Olympic Games (USA)
chksum = 0x56A0;
break;
@ -824,6 +827,7 @@ void getCartInfo_MD() {
switch (chksum) {
case 0x5B3A: //NHL 98 (USA)
cartSize = 0x200000;
chksum = 0x5613;
break;
case 0xD07D: //Zero Wing (Japan)
cartSize = 0x100000;
@ -840,6 +844,12 @@ void getCartInfo_MD() {
case 0x0C6A: //Monopoly (USA)
chksum = 0xE1AA;
break;
case 0xA760: //Gain Ground (USA)
chksum = 0x97CD;
break;
case 0x1404: //Wonder Boy III - Monster Lair (Japan, Europe) (En)
chksum = 0x53B9;
break;
}
}
if (cartSize == 0x40000) {