diff --git a/memmap.cpp b/memmap.cpp index 655ebc4f..9131a88b 100644 --- a/memmap.cpp +++ b/memmap.cpp @@ -3184,6 +3184,10 @@ void CMemory::Map_SA1LoROMMap (void) for (int c = 0x600; c < 0x700; c++) SA1.Map[c] = SA1.WriteMap[c] = (uint8 *) MAP_BWRAM_BITMAP; + // WRAM is inaccessable + for (int c = 0x7e0; c < 0x800; c++) + SA1.Map[c] = SA1.WriteMap[c] = (uint8 *) MAP_NONE; + BWRAM = SRAM; } @@ -3226,6 +3230,10 @@ void CMemory::Map_BSSA1LoROMMap(void) for (int c = 0x600; c < 0x700; c++) SA1.Map[c] = SA1.WriteMap[c] = (uint8 *) MAP_BWRAM_BITMAP; + // WRAM is inaccessable + for (int c = 0x7e0; c < 0x800; c++) + SA1.Map[c] = SA1.WriteMap[c] = (uint8 *) MAP_NONE; + BWRAM = SRAM; }