aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJustin Weiss2020-09-19 23:20:43 -0700
committerJustin Weiss2020-09-19 23:20:43 -0700
commit82d32b5930b45820314dccaf189cfadeec9143b2 (patch)
tree03aab84819c743519e43ac2ff9b1cd9a9420e915 /source
parent0dcafe459f06f00a4ca9cd0b54761c5b43ceeec5 (diff)
downloadsnes9x2005-82d32b5930b45820314dccaf189cfadeec9143b2.tar.gz
snes9x2005-82d32b5930b45820314dccaf189cfadeec9143b2.tar.bz2
snes9x2005-82d32b5930b45820314dccaf189cfadeec9143b2.zip
Map ExHiROM banks 2x{6,7} and ax{6,7} to SRAM
These banks were previously unmapped, but are used by the Link to the Past / Super Metroid randomizer. According to fullsnes.txt and newer versions of snes9x, these should be mapped to SRAM.
Diffstat (limited to 'source')
-rw-r--r--source/memmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/memmap.c b/source/memmap.c
index 5f7d84a..9f409a6 100644
--- a/source/memmap.c
+++ b/source/memmap.c
@@ -1770,7 +1770,7 @@ void TalesROMMap(bool Interleaved)
/* makes more sense to map the range here. */
/* ToP seems to use sram to skip intro??? */
- if (c >= 0x300)
+ if (c >= 0x200)
{
Memory.Map [c + 6] = Memory.Map [c + 0x806] = MAP_HIROM_SRAM_OR_NONE;
Memory.Map [c + 7] = Memory.Map [c + 0x807] = MAP_HIROM_SRAM_OR_NONE;