From 2b5425de79cef16ca985c802ba6df26d4117b4ec Mon Sep 17 00:00:00 2001 From: OBattler Date: Wed, 15 Jan 2020 00:38:29 +0100 Subject: [PATCH] Removed a block of dead code from win/win_settings.c. --- src/win/win_settings.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/win/win_settings.c b/src/win/win_settings.c index 6e2583336..133103107 100644 --- a/src/win/win_settings.c +++ b/src/win/win_settings.c @@ -539,13 +539,9 @@ win_settings_machine_recalc_cpu(HWND hdlg) h = GetDlgItem(hdlg, IDC_CHECK_FPU); cpu_type = machines[temp_machine].cpu[temp_cpu_m].cpus[temp_cpu].cpu_type; - // if ((cpu_type < CPU_i486DX) && (cpu_type >= CPU_286)) if (cpu_type < CPU_i486DX) EnableWindow(h, TRUE); - else if (cpu_type < CPU_286) { - temp_fpu = 0; - EnableWindow(h, FALSE); - } else { + else { temp_fpu = 1; EnableWindow(h, FALSE); }