mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-09 04:15:14 +01:00
fixed SRAM initialization bug (introduced in r582)
This commit is contained in:
parent
4a39669a8d
commit
6ebfda53d5
@ -297,7 +297,7 @@ void md_cart_init(void)
|
||||
else
|
||||
{
|
||||
/* Static RAM (64k max.) - disabled on reset if ROM is mapped in same area */
|
||||
if (cart.romsize < sram.start)
|
||||
if (cart.romsize <= sram.start)
|
||||
{
|
||||
m68k_memory_map[sram.start >> 16].base = sram.sram;
|
||||
m68k_memory_map[sram.start >> 16].read8 = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user