Added a few more CPU config checks on startup

This commit is contained in:
Dimitris Panokostas 2018-12-05 22:13:21 +01:00
parent 1932609be3
commit 9128655e68

View file

@ -158,6 +158,11 @@ void fixup_cpu(struct uae_prefs *p)
break;
}
if (p->cpu_model < 68020 && p->cachesize) {
p->cachesize = 0;
error_log(_T("JIT requires 68020 or better CPU."));
}
if (p->cpu_model >= 68020 && p->cachesize && p->cpu_compatible)
p->cpu_compatible = false;
@ -166,6 +171,11 @@ void fixup_cpu(struct uae_prefs *p)
p->fpu_no_unimplemented = false;
}
if (p->cachesize && p->compfpu && p->fpu_mode > 0) {
error_log(_T("JIT FPU emulation is not compatible with softfloat FPU emulation."));
p->fpu_mode = 0;
}
if (p->immediate_blits && p->waiting_blits) {
error_log(_T("Immediate blitter and waiting blits can't be enabled simultaneously.\n"));
p->waiting_blits = 0;