diff --git a/lib/memory.cpp b/lib/memory.cpp index cd0717a..f4019cc 100644 --- a/lib/memory.cpp +++ b/lib/memory.cpp @@ -105,9 +105,9 @@ using R = MemoryRegion; /* Basic memory regions */ R const R::ROM = MemoryRegion("ROM", 0x80000000, 0x81ffffff, false); -R const R::RAM = MemoryRegion("RAM", 0x88000000, 0x88040000, true); +R const R::RAM = MemoryRegion("RAM", 0x88000000, 0x8803ffff, true); R const R::ROM_P2 = MemoryRegion("ROM_P2", 0xa0000000, 0xa07fffff, false); -R const R::RAM_P2 = MemoryRegion("RAM_P2", 0xa8000000, 0xa8040000, true); +R const R::RAM_P2 = MemoryRegion("RAM_P2", 0xa8000000, 0xa803ffff, true); R const R::RS = MemoryRegion("RS", 0xfd800000, 0xfd8007ff, true); R const R::ILRAM = MemoryRegion("ILRAM", 0xe5200000, 0xe5203fff, true); R const R::XRAM = MemoryRegion("XRAM", 0xe5007000, 0xe5008fff, true);