diff options
author | splash5 <[email protected]> | 2023-02-26 15:40:53 +0800 |
---|---|---|
committer | splash5 <[email protected]> | 2023-02-26 15:40:53 +0800 |
commit | aff7f09690aaa685a53a1dba3d9b17cca3747004 (patch) | |
tree | 6c63154fdc30223cf722b050409d467dc43a0d75 | |
parent | 1bd8555f31d07a49af52b63fb636d5d8f9b85a51 (diff) | |
download | cartreader-aff7f09690aaa685a53a1dba3d9b17cca3747004.tar.gz cartreader-aff7f09690aaa685a53a1dba3d9b17cca3747004.zip |
Add support for "Fatman (Japan)"
-rw-r--r-- | Cart_Reader/MD.ino | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Cart_Reader/MD.ino b/Cart_Reader/MD.ino index 659555a..d4d0cac 100644 --- a/Cart_Reader/MD.ino +++ b/Cart_Reader/MD.ino @@ -1091,6 +1091,12 @@ void getCartInfo_MD() { cartSize = 0x80000;
}
+ // Fatman (Japan)
+ if (!strncmp(romName, "LACEGMT4401300J", 15) && (chksum == 0xffff)) {
+ chksum = 0xC560;
+ cartSize = 0xA0000;
+ }
+
// Some games are missing the ROM size in the header, in this case calculate ROM size by looking for mirror of the first line of the ROM
// This does not work for cartridges that have SRAM mapped directly after the maskrom like Striker (Europe)
if ((cartSize < 0x8000) || (cartSize > 0xEAF400)) {
|