Commit 386bfe0a authored by Brandon Wright's avatar Brandon Wright
Browse files

LoROM: Don't map SRAM if size is 0.

parent e3220953
......@@ -2950,6 +2950,9 @@ void CMemory::map_LoROMSRAM (void)
{
uint32 hi;
if (SRAMSize == 0)
return;
if (ROMSize > 11 || SRAMSize > 5)
hi = 0x7fff;
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment