From 27c2cfd19ad18c002d5c7caf511b3884683246ed Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sun, 14 Jan 2024 16:59:26 +0200 Subject: [PATCH] SX32Pro can support 128M RAM, fix memory mapping. --- cpuboard.cpp | 2 +- expansion.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpuboard.cpp b/cpuboard.cpp index 69683a82..cec5ad2d 100644 --- a/cpuboard.cpp +++ b/cpuboard.cpp @@ -1861,7 +1861,7 @@ static void cpuboard_init_2(void) mapped_malloc(&blizzardea_bank); if (is_mtec_ematrix530(&currprefs) || is_sx32pro(&currprefs) || is_dce_typhoon2(&currprefs)) { - if (cpuboard_size == 2 * 1024 * 1024 || cpuboard_size == 8 * 1024 * 1024 || cpuboard_size == 32 * 1024 * 1024) { + if (cpuboard_size == 2 * 1024 * 1024 || cpuboard_size == 8 * 1024 * 1024 || cpuboard_size == 32 * 1024 * 1024 || is_sx32pro(&currprefs)) { cpuboardmem1_bank.start = 0x18000000; cpuboardmem1_bank.reserved_size = cpuboard_size / 2; cpuboardmem1_bank.mask = cpuboardmem1_bank.reserved_size - 1; diff --git a/expansion.cpp b/expansion.cpp index c9c494fa..44cbf6c2 100644 --- a/expansion.cpp +++ b/expansion.cpp @@ -6896,7 +6896,7 @@ static const struct cpuboardsubtype dceboard_sub[] = { ROMTYPE_CB_SX32PRO, 0, 3, NULL, 0, BOARD_MEMORY_CUSTOM_32, - 64 * 1024 * 1024 + 128 * 1024 * 1024 }, { _T("Typhoon MK2"), -- 2.47.3