Removed a block of dead code from win/win_settings.c.
This commit is contained in:
@@ -539,13 +539,9 @@ win_settings_machine_recalc_cpu(HWND hdlg)
|
|||||||
|
|
||||||
h = GetDlgItem(hdlg, IDC_CHECK_FPU);
|
h = GetDlgItem(hdlg, IDC_CHECK_FPU);
|
||||||
cpu_type = machines[temp_machine].cpu[temp_cpu_m].cpus[temp_cpu].cpu_type;
|
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)
|
if (cpu_type < CPU_i486DX)
|
||||||
EnableWindow(h, TRUE);
|
EnableWindow(h, TRUE);
|
||||||
else if (cpu_type < CPU_286) {
|
else {
|
||||||
temp_fpu = 0;
|
|
||||||
EnableWindow(h, FALSE);
|
|
||||||
} else {
|
|
||||||
temp_fpu = 1;
|
temp_fpu = 1;
|
||||||
EnableWindow(h, FALSE);
|
EnableWindow(h, FALSE);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user