mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2025-01-13 03:39:06 +01:00
[Core/MD] fixed SRAM support in Triple Play 96 & Triple Play - Gold Edition
This commit is contained in:
parent
600c8d4ef1
commit
341f093fb1
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.8 MiB After Width: | Height: | Size: 3.8 MiB |
@ -2,7 +2,7 @@
|
|||||||
* Genesis Plus
|
* Genesis Plus
|
||||||
* Mega Drive cartridge hardware support
|
* Mega Drive cartridge hardware support
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007-2014 Eke-Eke (Genesis Plus GX)
|
* Copyright (C) 2007-2015 Eke-Eke (Genesis Plus GX)
|
||||||
*
|
*
|
||||||
* Many cartridge protections were initially documented by Haze
|
* Many cartridge protections were initially documented by Haze
|
||||||
* (http://haze.mameworld.info/)
|
* (http://haze.mameworld.info/)
|
||||||
@ -372,9 +372,6 @@ void md_cart_init(void)
|
|||||||
|
|
||||||
/* external SRAM */
|
/* external SRAM */
|
||||||
if (sram.on && !sram.custom)
|
if (sram.on && !sram.custom)
|
||||||
{
|
|
||||||
/* disabled on startup if ROM is mapped in same area */
|
|
||||||
if (cart.romsize <= sram.start)
|
|
||||||
{
|
{
|
||||||
/* initialize m68k bus handlers */
|
/* initialize m68k bus handlers */
|
||||||
m68k.memory_map[sram.start >> 16].base = sram.sram;
|
m68k.memory_map[sram.start >> 16].base = sram.sram;
|
||||||
@ -385,7 +382,6 @@ void md_cart_init(void)
|
|||||||
zbank_memory_map[sram.start >> 16].read = sram_read_byte;
|
zbank_memory_map[sram.start >> 16].read = sram_read_byte;
|
||||||
zbank_memory_map[sram.start >> 16].write = sram_write_byte;
|
zbank_memory_map[sram.start >> 16].write = sram_write_byte;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
/**********************************************
|
/**********************************************
|
||||||
SVP CHIP
|
SVP CHIP
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
* Genesis Plus
|
* Genesis Plus
|
||||||
* Mega Drive cartridge hardware support
|
* Mega Drive cartridge hardware support
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007-2013 Eke-Eke (Genesis Plus GX)
|
* Copyright (C) 2007-2015 Eke-Eke (Genesis Plus GX)
|
||||||
*
|
*
|
||||||
* Most cartridge protections were initially documented by Haze
|
* Most cartridge protections were initially documented by Haze
|
||||||
* (http://haze.mameworld.info/)
|
* (http://haze.mameworld.info/)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user