Added a few more CPU config checks on startup
This commit is contained in:
parent
1932609be3
commit
9128655e68
1 changed files with 10 additions and 0 deletions
10
src/main.cpp
10
src/main.cpp
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue