Snes9x - Revert "LoROM: Don't map SRAM if size is 0." (#999)

This commit is contained in:
bladeoner 2022-03-07 23:16:01 +01:00 committed by GitHub
parent a84e5cce69
commit e1ca95b38b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2846,9 +2846,6 @@ void CMemory::map_LoROMSRAM (void)
{ {
uint32 hi; uint32 hi;
if (SRAMSize == 0)
return;
if (ROMSize > 11 || SRAMSize > 5) if (ROMSize > 11 || SRAMSize > 5)
hi = 0x7fff; hi = 0x7fff;
else else