From 2831d7a879fcdb112d74f6c7b4f1e5a4ff403e81 Mon Sep 17 00:00:00 2001 From: TC1995 Date: Wed, 17 Jun 2020 23:47:37 +0200 Subject: [PATCH] Ported the latest cs8230 patch from greatpsycho. --- src/chipset/cs8230.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/chipset/cs8230.c b/src/chipset/cs8230.c index bb13b353e..a0f64d55c 100644 --- a/src/chipset/cs8230.c +++ b/src/chipset/cs8230.c @@ -142,6 +142,11 @@ static void cs8230_write, NULL, NULL, cs8230); + if (mem_size > 768) { + mem_mapping_set_addr(&ram_mid_mapping, 0xa0000, mem_size > 1024 ? 0x60000 : 0x20000 + (mem_size - 768) * 1024); + mem_mapping_set_exec(&ram_mid_mapping, ram + 0xa0000); + } + return cs8230; }