aboutsummaryrefslogtreecommitdiffhomepage
path: root/Cart_Reader/MD.ino
diff options
context:
space:
mode:
authorPsyK0p4T <[email protected]>2023-05-04 09:15:44 +0200
committerGitHub <[email protected]>2023-05-04 09:15:44 +0200
commitac09058013d34b7bd1c4ac47a1784f3171c045fd (patch)
treef1bdfa8b198e3fe1c8a13d75ebbc1dbf21c4c6ff /Cart_Reader/MD.ino
parent584d8f67ee6fe3ab399f13ec1295b190b7784801 (diff)
downloadcartreader-ac09058013d34b7bd1c4ac47a1784f3171c045fd.tar.gz
cartreader-ac09058013d34b7bd1c4ac47a1784f3171c045fd.zip
Update MD.ino
Added support for "mikeyeldey95 (Aftermarket)"
Diffstat (limited to 'Cart_Reader/MD.ino')
-rw-r--r--Cart_Reader/MD.ino6
1 files changed, 6 insertions, 0 deletions
diff --git a/Cart_Reader/MD.ino b/Cart_Reader/MD.ino
index 59df10e..73ba38b 100644
--- a/Cart_Reader/MD.ino
+++ b/Cart_Reader/MD.ino
@@ -867,6 +867,12 @@ void getCartInfo_MD() {
chksum = 0xAA28;
}
+ //mikeyeldey95 (Aftermarket)
+ if (!strncmp("GM 00000000-43", id, 14) && (chksum == 0x0000)) {
+ chksum = 0x921B;
+ cartSize = 0x400000;
+ }
+
// Sonic & Knuckles Check
SnKmode = 0;
if (chksum == 0xDFB3) {