mirror of
https://github.com/sanni/cartreader.git
synced 2024-12-26 04:51:52 +01:00
Add support for "Fatman (Japan)"
This commit is contained in:
parent
1bd8555f31
commit
aff7f09690
@ -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)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user