Fixed the two bugs reported by lemondrops358.

This commit is contained in:
OBattler
2020-10-16 13:28:38 +02:00
parent 066f89c5a4
commit 1c747b46c2
2 changed files with 4 additions and 5 deletions

View File

@@ -982,10 +982,10 @@ recalc_vid_list(HWND hdlg)
EnableWindow(h, (machines[temp_machine].flags & MACHINE_VIDEO_ONLY) ? FALSE : TRUE);
h = GetDlgItem(hdlg, IDC_CHECK_VOODOO);
EnableWindow(h, (machines[temp_machine].flags & MACHINE_PCI) ? TRUE : FALSE);
EnableWindow(h, (machines[temp_machine].flags & MACHINE_BUS_PCI) ? TRUE : FALSE);
h = GetDlgItem(hdlg, IDC_BUTTON_VOODOO);
EnableWindow(h, ((machines[temp_machine].flags & MACHINE_PCI) && temp_voodoo) ? TRUE : FALSE);
EnableWindow(h, ((machines[temp_machine].flags & MACHINE_BUS_PCI) && temp_voodoo) ? TRUE : FALSE);
}