From 6b77e67bc42ea36898e1d04a54ca0debbaae7c2e Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sat, 6 Jan 2018 20:33:29 +0200 Subject: [PATCH] Allow JIT direct in CSPCC mode by disabling maprom support. --- cpuboard.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cpuboard.cpp b/cpuboard.cpp index 0b0a25db..21fa4d54 100644 --- a/cpuboard.cpp +++ b/cpuboard.cpp @@ -1049,6 +1049,10 @@ static void cyberstorm_maprom(void) { if (a3000hmem_bank.reserved_size <= 2 * 524288) return; + if (currprefs.cachesize && !currprefs.comptrustbyte) { + write_log(_T("JIT Direct enabled: CSPPC MAPROM not available.\n")); + return; + } map_banks(&dummy_bank, CYBERSTORM_MAPROM_BASE >> 16, 524288 >> 16, 0); if (blizzardmaprom_bank_mapped) -- 2.47.3