mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2026-10-12 02:13:28 +00:00
[Core/MD] fixed Life on Mars / Life on Earth Reimagined original ROM detection
This commit is contained in:
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 3.8 MiB After Width: | Height: | Size: 3.8 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.8 MiB After Width: | Height: | Size: 3.8 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 4.2 MiB After Width: | Height: | Size: 4.2 MiB |
@@ -676,8 +676,8 @@ void md_cart_init(void)
|
||||
flash_cfi_init(M29W320EB);
|
||||
}
|
||||
else if (strstr(rominfo.ROMType,"GM") && strstr(rominfo.product,"00000000-00") &&
|
||||
(((rominfo.checksum == 0xcdf5) && (rominfo.realchecksum = 0x603A)) || /* Life on Mars */
|
||||
((rominfo.checksum == 0x6bd5) && (rominfo.realchecksum = 0x1FEA)))) /* Life on Earth Reimagined */
|
||||
(((rominfo.checksum == 0xcdf5) && (rominfo.realchecksum == 0x603A)) || /* Life on Mars */
|
||||
((rominfo.checksum == 0x6bd5) && (rominfo.realchecksum == 0x1FEA)))) /* Life on Earth Reimagined */
|
||||
{
|
||||
/* SGDK flash-save mapper (ROM+SRAM) */
|
||||
m68k.memory_map[0x3f].base = sram.sram;
|
||||
|
||||
+4
-3
@@ -99,10 +99,11 @@ void sram_init(void)
|
||||
sram.end = 0x203fff;
|
||||
}
|
||||
else if (strstr(rominfo.product,"00000000-00") &&
|
||||
(((rominfo.checksum == 0xcdf5) && (rominfo.realchecksum = 0x603A)) ||
|
||||
((rominfo.checksum == 0x6bd5) && (rominfo.realchecksum = 0x1FEA))))
|
||||
(((rominfo.checksum == 0xcdf5) && (rominfo.realchecksum == 0x603A)) ||
|
||||
((rominfo.checksum == 0x6bd5) && (rominfo.realchecksum == 0x1FEA)) ||
|
||||
((rominfo.checksum == 0x45c1))))
|
||||
{
|
||||
/* Life on Mars / Life on Earth Reimagined (wrong addresses) */
|
||||
/* Life on Mars / Life on Earth Reimagined / The Secret Of The Four Winds (wrong addresses) */
|
||||
sram.start = 0x3f0000;
|
||||
sram.end = 0x3fffff;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user