SA1: Map 7e-7f to none.

This commit is contained in:
BearOso 2023-03-07 14:34:35 -06:00
parent 36857427f7
commit 33cab01c15
1 changed files with 8 additions and 0 deletions

View File

@ -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;
}