aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Weiss2020-09-19 23:20:43 -0700
committerneonloop2021-04-09 22:11:31 +0000
commit8a5975b4924eca75d0ab2a31c6b5f1689b5d8c1b (patch)
tree2551fba9ad0f1833c5e5400c4f97c4cd73bd0381
parent974260307f98767885aa7d296bbca85031b295d9 (diff)
downloadsnesemu-8a5975b4924eca75d0ab2a31c6b5f1689b5d8c1b.tar.gz
snesemu-8a5975b4924eca75d0ab2a31c6b5f1689b5d8c1b.tar.bz2
snesemu-8a5975b4924eca75d0ab2a31c6b5f1689b5d8c1b.zip
Map ExHiROM banks 2x{6,7} and ax{6,7} to SRAMHEADtrimui-s
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.
-rw-r--r--source/memmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/memmap.c b/source/memmap.c
index 4f76fc8..d17536f 100644
--- a/source/memmap.c
+++ b/source/memmap.c
@@ -1768,7 +1768,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;