mirror of https://github.com/snes9xgit/snes9x.git
Don't map high SRAM range on LoROM if no SRAM.
This commit is contained in:
parent
c9b0d104f8
commit
a069749403
|
@ -2822,7 +2822,8 @@ void CMemory::map_LoROMSRAM (void)
|
|||
hi = 0xffff;
|
||||
|
||||
map_index(0x70, 0x7d, 0x0000, hi, MAP_LOROM_SRAM, MAP_TYPE_RAM);
|
||||
map_index(0xf0, 0xff, 0x0000, hi, MAP_LOROM_SRAM, MAP_TYPE_RAM);
|
||||
if (SRAMSize > 0)
|
||||
map_index(0xf0, 0xff, 0x0000, hi, MAP_LOROM_SRAM, MAP_TYPE_RAM);
|
||||
}
|
||||
|
||||
void CMemory::map_HiROMSRAM (void)
|
||||
|
|
Loading…
Reference in New Issue