Merge pull request #903 from PsyK0p4T/master

Update MD.ino
This commit is contained in:
PsyK0p4T 2024-02-25 14:15:15 +01:00 committed by GitHub
commit ddd8b94bd7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 39 additions and 3 deletions

View File

@ -925,6 +925,30 @@ void getCartInfo_MD() {
cartSize = 0x400000;
}
//Enryuu Seiken Xiao-Mei (Aftermarket)
if (!strncmp("GM 00000000-00", id, 14) && (chksum == 0x1E0C)) {
chksum = 0xE7E5;
cartSize = 0x400000;
}
// Life on Earth - Reimagined (Aftermarket)
if (!strncmp("GM 00000000-00", id, 14) && (chksum == 0x6BD5)) {
chksum = 0x1FEA;
cartSize = 0x400000;
}
// Sasha Darko's Sacred Line I (Aftermarket)
if (!strncmp("GM 00000005-00", id, 14) && (chksum == 0x9F34)) {
chksum = 0xA094;
cartSize = 0x400000;
}
// Sasha Darko's Sacred Line II (Aftermarket)
if (!strncmp("GM 00000005-00", id, 14) && (chksum == 0x0E9B)) {
chksum = 0x6B4B;
cartSize = 0x400000;
}
// Sonic & Knuckles Check
SnKmode = 0;
if (chksum == 0xDFB3) {
@ -1095,7 +1119,10 @@ void getCartInfo_MD() {
saveType = 3; // BOTH
sramSize = sramEnd - sramBase + 1;
sramBase = sramBase >> 1;
} else {
} else if (sramBase == 0x3FFC00) {
// Used for some aftermarket carts without sram
saveType = 0;
}else {
print_Msg(("sramType: "));
print_Msg_PaddedHex16(sramType);
println_Msg(F(""));

View File

@ -2116,6 +2116,9 @@ Elitserien 96 (Sweden).md
Empire of Steel (Europe).md
E5517B77
Enryuu Seiken Xiao-Mei (Japan) (Aftermarket) (Unl).md
D7DD3791
Escape 2042 - The Truth Defenders (World) (En,Ja,Fr,Es) (Preview) (Aftermarket) (Unl).md
0D81511C
@ -3463,6 +3466,9 @@ LHX Attack Chopper (USA, Europe).md
Liberty or Death (USA).md
2ADB0364
Life on Earth - Reimagined (World) (Aftermarket) (Unl).md
883552AD
Life on Mars (World) (Aftermarket) (Unl).md
FD214116
@ -5494,8 +5500,8 @@ Runes (World) (Aftermarket) (Homebrew).bin
Ryuuko no Ken (Japan).md
054CF5F6
Sacred Line Genesis (World) (1.1.9) (Aftermarket) (Unl).md
2E029AB4
Sacred Line Genesis (World) (v1.1.9) (Aftermarket) (Unl).md
80D8F0CC
Sacred Line Genesis (World) (Aftermarket) (Unl).md
AFF86301
@ -5503,6 +5509,9 @@ AFF86301
Sacred Line Zero (World) (Proto) (Aftermarket) (Unl).md
D8A662AF
Sacred Line II (World) (v1.02) (Aftermarket) (Unl).md
C03ABCED
Sagaia (USA).md
F1E22F43