From: Toni Wilen Date: Sat, 6 Jan 2018 18:33:29 +0000 (+0200) Subject: Allow JIT direct in CSPCC mode by disabling maprom support. X-Git-Tag: 3600~10 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=6b77e67bc42ea36898e1d04a54ca0debbaae7c2e;p=francis%2Fwinuae.git Allow JIT direct in CSPCC mode by disabling maprom support. --- 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)