From 82d32b5930b45820314dccaf189cfadeec9143b2 Mon Sep 17 00:00:00 2001 From: Justin Weiss Date: Sat, 19 Sep 2020 23:20:43 -0700 Subject: 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. --- source/memmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') 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; -- cgit v1.2.3