From 73a4e459d151b8153915453756aae3786e6a41b3 Mon Sep 17 00:00:00 2001 From: Alcaro Date: Wed, 28 May 2014 19:28:56 +0200 Subject: [PATCH] Allow larger SRAM in HiROM. .len is enough to trim the size down properly anyways. --- memmap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/memmap.cpp b/memmap.cpp index bc32c933..96e9fdfe 100644 --- a/memmap.cpp +++ b/memmap.cpp @@ -2936,7 +2936,7 @@ void CMemory::map_index (uint32 bank_s, uint32 bank_e, uint32 addr_s, uint32 add if (type==MAP_HIROM_SRAM || type==MAP_RONLY_SRAM) { desc.ptr=Memory.SRAM; - desc.disconnect=0xF8E000; + desc.disconnect=0x00E000; desc.len=Memory.SRAMMask+1; S9xAppendMapping(&desc); }