Disable the softfloat checkbox when no FPU is selected

This commit is contained in:
Alexander Babikov
2023-09-05 20:55:54 +05:00
parent b3dbfcfc9a
commit 178f1ce599
4 changed files with 39 additions and 8 deletions

View File

@@ -510,6 +510,7 @@ load_machine(void)
cpu_use_dynarec = !!ini_section_get_int(cat, "cpu_use_dynarec", 0);
fpu_softfloat = !!ini_section_get_int(cat, "fpu_softfloat", 0);
if ((fpu_type != FPU_NONE) && machine_has_flags(machine, MACHINE_SOFTFLOAT_ONLY))
if (machine_has_flags(machine, MACHINE_SOFTFLOAT_ONLY))
fpu_softfloat = 1;