Revert JIT direct support in CSPPC config. Enable it only in CSMK3.

This commit is contained in:
Toni Wilen 2018-02-19 20:03:20 +02:00
parent 68236d89fd
commit 9c29ce3a84
2 changed files with 3 additions and 3 deletions

View File

@ -1050,8 +1050,8 @@ 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"));
if (currprefs.cachesize && !currprefs.comptrustbyte && ISCPUBOARDP(&currprefs, BOARD_CYBERSTORM, BOARD_CYBERSTORM_SUB_MK3)) {
write_log(_T("JIT Direct enabled: CSMK3 MAPROM not available.\n"));
return;
}

View File

@ -45,7 +45,7 @@ void blizzardppc_irq_setonly(int id, int level);
#define BOARD_MEMORY_25BITMEM 6
#define BOARD_MEMORY_CUSTOM_32 7
#define ISCPUBOARDP(p, type,subtype) (cpuboards[p->cpuboard_type].id == type && (type < 0 || p->cpuboard_subtype == subtype))
#define ISCPUBOARDP(p, type,subtype) (cpuboards[(p)->cpuboard_type].id == type && (type < 0 || (p)->cpuboard_subtype == subtype))
#define ISCPUBOARD(type,subtype) (cpuboards[currprefs.cpuboard_type].id == type && (type < 0 || currprefs.cpuboard_subtype == subtype))
#define BOARD_ACT 1