Fixed the handling of the Voodoo check box in the Settings dialog.

This commit is contained in:
OBattler
2017-07-15 14:24:44 +02:00
parent 2dbce95fde
commit aff10b7490

View File

@@ -729,10 +729,10 @@ static void recalc_vid_list(HWND hdlg)
EnableWindow(h, models[temp_model].fixed_gfxcard ? FALSE : TRUE);
h = GetDlgItem(hdlg, IDC_CHECK_VOODOO);
EnableWindow(h, (models[model].flags & MODEL_PCI) ? TRUE : FALSE);
EnableWindow(h, (models[temp_model].flags & MODEL_PCI) ? TRUE : FALSE);
h = GetDlgItem(hdlg, IDC_BUTTON_VOODOO);
EnableWindow(h, ((models[model].flags & MODEL_PCI) && temp_voodoo) ? TRUE : FALSE);
EnableWindow(h, ((models[temp_model].flags & MODEL_PCI) && temp_voodoo) ? TRUE : FALSE);
}