Merge pull request #722 from splash5/megadrive

Add support for "Fatman (Japan)"
This commit is contained in:
sanni 2023-02-26 11:52:37 +01:00 committed by GitHub
commit 6edbd4baa8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 13 deletions

View File

@ -1091,6 +1091,12 @@ void getCartInfo_MD() {
cartSize = 0x80000; 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 // 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) // This does not work for cartridges that have SRAM mapped directly after the maskrom like Striker (Europe)
if ((cartSize < 0x8000) || (cartSize > 0xEAF400)) { if ((cartSize < 0x8000) || (cartSize > 0xEAF400)) {

View File

@ -809,7 +809,7 @@ Basse Def Adventures (USA, Europe) (Fr) (Aftermarket) (Homebrew).nes
F8253658,EA32F4CA,4E45531A2000E8180000000900000001 F8253658,EA32F4CA,4E45531A2000E8180000000900000001
Batman (Japan).nes Batman (Japan).nes
4D7859A9,0D425FC2,4E45531A081050480000000000000001 4D7859A9,940E76A4,4E45531A081050480000000000000001
Batman - Return of the Joker (Europe).nes Batman - Return of the Joker (Europe).nes
BA327FD9,1263757B,4E45531A082050480000070001000001 BA327FD9,1263757B,4E45531A082050480000070001000001
@ -1760,7 +1760,7 @@ Daikaijuu Deburas (Japan).nes
956E3D90,7A565B41,4E45531A082042080000700000000001 956E3D90,7A565B41,4E45531A082042080000700000000001
Daikoukai Jidai (Japan).nes Daikoukai Jidai (Japan).nes
FE3488D1,F29477E0,4E45531A201052080000770000000001 FE3488D1,07A31F09,4E45531A201052080000770000000001
Daiku no Gen-san (Japan).nes Daiku no Gen-san (Japan).nes
78211EBF,E9CBB26E,4E45531A081040080000000000000001 78211EBF,E9CBB26E,4E45531A081040080000000000000001
@ -2003,7 +2003,7 @@ Digital Devil Story - Megami Tensei II (Japan) (Rev A).nes
10C9A789,F97169EB,4E45531A102032183000700000000001 10C9A789,F97169EB,4E45531A102032183000700000000001
Digital Devil Story - Megami Tensei II (Japan).nes Digital Devil Story - Megami Tensei II (Japan).nes
96773F32,F97169EB,4E45531A102032183000700000000001 96773F32,8C741D75,4E45531A102032183000700000000001
Dino Hockey (USA) (Proto 1).nes Dino Hockey (USA) (Proto 1).nes
EAB002AE,49F145D1,4E45531A081040080000000000000001 EAB002AE,49F145D1,4E45531A081040080000000000000001
@ -2021,7 +2021,7 @@ Doki! Doki! Yuuenchi - Crazy Land Daisakusen (Japan).nes
BD50F230,F24E4AEC,4E45531A081040080000000000000001 BD50F230,F24E4AEC,4E45531A081040080000000000000001
Dokuganryuu Masamune (Japan).nes Dokuganryuu Masamune (Japan).nes
10C8F2FA,DC7D4C08,4E45531A081032182000000000000001 10C8F2FA,82DA1B90,4E45531A081032182000000000000001
Don Doko Don (Japan).nes Don Doko Don (Japan).nes
7A497AE3,157426E5,4E45531A082010280000000000000001 7A497AE3,157426E5,4E45531A082010280000000000000001
@ -2192,7 +2192,7 @@ Dragon Ball 3 - Gokuu Den (Japan).nes
6E68E31A,8AEEC54E,4E45531A082000184000000000000001 6E68E31A,8AEEC54E,4E45531A082000184000000000000001
Dragon Ball Z - Kyoushuu! Saiya Jin (Japan).nes Dragon Ball Z - Kyoushuu! Saiya Jin (Japan).nes
183859D2,ADE75A78,4E45531A1020F2980000100000000001 183859D2,20211D78,4E45531A1020F2980000100000000001
Dragon Ball Z Gaiden - Saiya Jin Zetsumetsu Keikaku (Japan).nes Dragon Ball Z Gaiden - Saiya Jin Zetsumetsu Keikaku (Japan).nes
136CA449,8455270E,4E45531A102002185000200000000001 136CA449,8455270E,4E45531A102002185000200000000001
@ -2231,7 +2231,7 @@ Dragon Ninja (Japan) (Rev A).nes
2AE535CA,48FADF11,4E45531A081030182000000000000001 2AE535CA,48FADF11,4E45531A081030182000000000000001
Dragon Ninja (Japan).nes Dragon Ninja (Japan).nes
2A7D3ADF,48FADF11,4E45531A081030182000000000000001 2A7D3ADF,7993C7EF,4E45531A081030182000000000000001
Dragon Power (USA).nes Dragon Power (USA).nes
811F06D9,6535A846,4E45531A080421480000000000000001 811F06D9,6535A846,4E45531A080421480000000000000001
@ -2972,7 +2972,7 @@ Front Line (Japan).nes
CF4DBDBE,2E59AE57,4E45531A010100080000000000000001 CF4DBDBE,2E59AE57,4E45531A010100080000000000000001
Fudou Myouou Den (Japan).nes Fudou Myouou Den (Japan).nes
7678F1D5,567F00E2,4E45531A1010F0C80000010000000001 7678F1D5,8A8DFF99,4E45531A1010F0C80000010000000001
Full Quiet (Backer Test Cartridge) (USA) (Proto) (Aftermarket) (Unl).nes Full Quiet (Backer Test Cartridge) (USA) (Proto) (Aftermarket) (Unl).nes
E0D6A265,F50A6EED,4E45531A200043080000CE0E00000001 E0D6A265,F50A6EED,4E45531A200043080000CE0E00000001
@ -3683,7 +3683,7 @@ Honoo no Toukyuuji - Dodge Danpei (Japan).nes
4C049CFE,78BB8B30,4E45531A082050480000000000000001 4C049CFE,78BB8B30,4E45531A082050480000000000000001
Honoo no Toukyuuji - Dodge Danpei 2 (Japan).nes Honoo no Toukyuuji - Dodge Danpei 2 (Japan).nes
A4E935DF,C1655A37,4E45531A102052480000700000000001 A4E935DF,FFC6780D,4E45531A102052480000700000000001
Honshougi - Naitou 9 Dan Shougi Hiden (Japan).nes Honshougi - Naitou 9 Dan Shougi Hiden (Japan).nes
FFD9DB04,A77F19AA,4E45531A010100080000000000000001 FFD9DB04,A77F19AA,4E45531A010100080000000000000001
@ -4187,7 +4187,7 @@ Kaguya Hime Densetsu (Japan).nes
26CEC726,26C75FC5,4E45531A100012080000700700000001 26CEC726,26C75FC5,4E45531A100012080000700700000001
Kaijuu Monogatari (Japan).nes Kaijuu Monogatari (Japan).nes
BC11E61A,D13E835A,4E45531A081032182000000000000001 BC11E61A,C8F91F15,4E45531A081032182000000000000001
Kaiketsu Yancha Maru (Japan).nes Kaiketsu Yancha Maru (Japan).nes
D1397940,24EFF378,4E45531A100010680000000700000001 D1397940,24EFF378,4E45531A100010680000000700000001
@ -5048,7 +5048,7 @@ Mario Open Golf (Japan) (Rev 1).nes
DB564628,236FF9B0,4E45531A100012080000700700000001 DB564628,236FF9B0,4E45531A100012080000700700000001
Mario Open Golf (Japan).nes Mario Open Golf (Japan).nes
BAEBA201,236FF9B0,4E45531A100012080000700700000001 BAEBA201,1CF198CE,4E45531A100012080000700700000001
Mario's Time Machine (USA).nes Mario's Time Machine (USA).nes
55DB7E2A,D35EB994,4E45531A081040080000000000000001 55DB7E2A,D35EB994,4E45531A081040080000000000000001
@ -5360,7 +5360,7 @@ Mindblower Pak (Australia) (Unl).nes
60A59624,D436C8F4,4E45531A081010780000000000000001 60A59624,D436C8F4,4E45531A081010780000000000000001
Mindseeker (Japan).nes Mindseeker (Japan).nes
ACE56F39,13320C94,4E45531A081032182000000000000001 ACE56F39,352CAF07,4E45531A081032182000000000000001
Minelvaton Saga - Ragon no Fukkatsu (Japan).nes Minelvaton Saga - Ragon no Fukkatsu (Japan).nes
8EE25F78,0B472A40,4E45531A081002580000100000000001 8EE25F78,0B472A40,4E45531A081002580000100000000001
@ -7013,7 +7013,7 @@ SD Gundam Gaiden - Knight Gundam Monogatari (Japan) (Rev 1).nes
276AC722,2BA0F0C8,4E45531A1010F2980000100000000001 276AC722,2BA0F0C8,4E45531A1010F2980000100000000001
SD Gundam Gaiden - Knight Gundam Monogatari (Japan).nes SD Gundam Gaiden - Knight Gundam Monogatari (Japan).nes
E170404C,2BA0F0C8,4E45531A1010F2980000100000000001 E170404C,2B3AA056,4E45531A1010F2980000100000000001
SD Gundam Gaiden - Knight Gundam Monogatari 2 - Hikari no Knight (Japan).nes SD Gundam Gaiden - Knight Gundam Monogatari 2 - Hikari no Knight (Japan).nes
B049A8C4,EBB4AF37,4E45531A102002185000200000000001 B049A8C4,EBB4AF37,4E45531A102002185000200000000001
@ -7736,7 +7736,7 @@ Sugoro Quest - Dice no Senshitachi (Japan).nes
1411005B,A279B87C,4E45531A081042080000700000000001 1411005B,A279B87C,4E45531A081042080000700000000001
Suikoden - Tenmei no Chikai (Japan).nes Suikoden - Tenmei no Chikai (Japan).nes
39F2CE4B,64C55B10,4E45531A101052080000770000000001 39F2CE4B,0A9725FE,4E45531A101052080000770000000001
Sukeban Deka III (Japan).nes Sukeban Deka III (Japan).nes
02863604,967E8DDF,4E45531A080021082000000700000001 02863604,967E8DDF,4E45531A080021082000000700000001