{
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;
}
#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