mirror of https://github.com/snes9xgit/snes9x.git
SA1: Map 7e-7f to none.
This commit is contained in:
parent
36857427f7
commit
33cab01c15
|
@ -3184,6 +3184,10 @@ void CMemory::Map_SA1LoROMMap (void)
|
||||||
for (int c = 0x600; c < 0x700; c++)
|
for (int c = 0x600; c < 0x700; c++)
|
||||||
SA1.Map[c] = SA1.WriteMap[c] = (uint8 *) MAP_BWRAM_BITMAP;
|
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;
|
BWRAM = SRAM;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3226,6 +3230,10 @@ void CMemory::Map_BSSA1LoROMMap(void)
|
||||||
for (int c = 0x600; c < 0x700; c++)
|
for (int c = 0x600; c < 0x700; c++)
|
||||||
SA1.Map[c] = SA1.WriteMap[c] = (uint8 *) MAP_BWRAM_BITMAP;
|
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;
|
BWRAM = SRAM;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue