mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-12-28 12:11:50 +01:00
[Core/MD] fixed SRAM support for Landstalker expanded ROM hacks (fixes Spanish translation black screen when starting a game)
This commit is contained in:
parent
155b982417
commit
298b09fcd1
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 3.7 MiB After Width: | Height: | Size: 3.7 MiB |
Binary file not shown.
Before Width: | Height: | Size: 3.9 MiB After Width: | Height: | Size: 3.9 MiB |
@ -435,6 +435,18 @@ void md_cart_init(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* support for Landstalker expanded ROM hack */
|
||||||
|
else if ((strstr(rominfo.product,"MK-1353") != NULL))
|
||||||
|
{
|
||||||
|
m68k.memory_map[0x20].base = sram.sram;
|
||||||
|
m68k.memory_map[0x20].read8 = sram_read_byte;
|
||||||
|
m68k.memory_map[0x20].read16 = sram_read_word;
|
||||||
|
m68k.memory_map[0x20].write8 = sram_write_byte;
|
||||||
|
m68k.memory_map[0x20].write16 = sram_write_word;
|
||||||
|
zbank_memory_map[0x20].read = sram_read_byte;
|
||||||
|
zbank_memory_map[0x20].write = sram_write_byte;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**********************************************
|
/**********************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user