Fixed the color of the Set button in the Video Config window in the DOS port on all modes that Scanlines, Interpolation, Eagle Engine, Full/Widescreen, and the HQ*x options are not available

This commit is contained in:
ipher
2005-07-12 17:10:37 +00:00
parent 707c6f50c2
commit e08e95c75a

View File

@@ -1429,6 +1429,8 @@ DisplayGUIVideo:
GUIDrawWindowBox 5,GUIVideoDisp ; Video Modes List/Options GUIDrawWindowBox 5,GUIVideoDisp ; Video Modes List/Options
DrawGUIButton 5,128,60,164,71,GUIVideoText8,4,0,0 ; Set Button
GUIDisplayTextY 5,6,16,GUIVideoTextA ; Video Modes : (Yellow) GUIDisplayTextY 5,6,16,GUIVideoTextA ; Video Modes : (Yellow)
%ifndef __MSDOS__ ; Legend %ifndef __MSDOS__ ; Legend
@@ -1499,8 +1501,6 @@ DisplayGUIVideo:
GUIDisplayCheckboxu 5,115,163,hqFilter,GUIVideoTexthq4x,1 GUIDisplayCheckboxu 5,115,163,hqFilter,GUIVideoTexthq4x,1
.notexthq4xa .notexthq4xa
DrawGUIButton 5,128,60,164,71,GUIVideoText8,4,0,0 ; Set Button
xor eax,eax ; Checkboxes xor eax,eax ; Checkboxes
mov al,[cvidmode] mov al,[cvidmode]
cmp byte[GUISLVID+eax],0 cmp byte[GUISLVID+eax],0