From 6a06539c45e1ad8ff54d38d248d38773fa904de8 Mon Sep 17 00:00:00 2001 From: Jamiras <32680403+Jamiras@users.noreply.github.com> Date: Sat, 1 Jul 2023 16:42:50 -0600 Subject: [PATCH] fix real address of 32X extension RAM (#243) --- src/rcheevos/consoleinfo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/rcheevos/consoleinfo.c b/src/rcheevos/consoleinfo.c index 10905ad9..0ef0089e 100644 --- a/src/rcheevos/consoleinfo.c +++ b/src/rcheevos/consoleinfo.c @@ -541,11 +541,11 @@ static const rc_memory_region_t _rc_memory_regions_megadrive[] = { static const rc_memory_regions_t rc_memory_regions_megadrive = { _rc_memory_regions_megadrive, 2 }; /* ===== MegaDrive 32X (Genesis 32X) ===== */ -/* https://en.wikibooks.org/wiki/Genesis_Programming/68K_Memory_map/ */ +/* http://devster.monkeeh.com/sega/32xguide1.txt */ static const rc_memory_region_t _rc_memory_regions_megadrive_32x[] = { - { 0x000000U, 0x00FFFFU, 0xFF0000U, RC_MEMORY_TYPE_SYSTEM_RAM, "System RAM" }, - { 0x010000U, 0x04FFFFU, 0x200000U, RC_MEMORY_TYPE_SYSTEM_RAM, "32X RAM"}, - { 0x050000U, 0x05FFFFU, 0x000000U, RC_MEMORY_TYPE_SAVE_RAM, "Cartridge RAM" } + { 0x000000U, 0x00FFFFU, 0x00FF0000U, RC_MEMORY_TYPE_SYSTEM_RAM, "System RAM" }, /* Main MegaDrive RAM */ + { 0x010000U, 0x04FFFFU, 0x06000000U, RC_MEMORY_TYPE_SYSTEM_RAM, "32X RAM"}, /* Additional 32X RAM */ + { 0x050000U, 0x05FFFFU, 0x00000000U, RC_MEMORY_TYPE_SAVE_RAM, "Cartridge RAM" } }; static const rc_memory_regions_t rc_memory_regions_megadrive_32x = { _rc_memory_regions_megadrive_32x, 3 };