From 0eb8db8d2faf062a0559e4c2064c7e00fbb1721b Mon Sep 17 00:00:00 2001 From: Stenzek Date: Wed, 29 Apr 2026 02:02:56 +1000 Subject: [PATCH] Bus: Fix incorrect region pointer for RAMMirror3 --- src/core/bus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/bus.cpp b/src/core/bus.cpp index 1691f9384..8b47e9ce8 100644 --- a/src/core/bus.cpp +++ b/src/core/bus.cpp @@ -861,7 +861,7 @@ u8* Bus::GetMemoryRegionPointer(MemoryRegion region) return (g_unprotected_ram + ((RAM_2MB_SIZE * 2) & g_ram_mask)); case MemoryRegion::RAMMirror3: - return (g_unprotected_ram + ((RAM_8MB_SIZE * 3) & g_ram_mask)); + return (g_unprotected_ram + ((RAM_2MB_SIZE * 3) & g_ram_mask)); case MemoryRegion::EXP1: return nullptr;