Video filters that do not work without MMX are now hidden in the Video menu when MMX is disabled or not available.

This commit is contained in:
ipher
2005-08-23 01:48:28 +00:00
parent 150e56a312
commit 60fdcfd30e

View File

@@ -1486,6 +1486,8 @@ DisplayGUIVideo:
mov al,[cvidmode]
cmp byte[GUIHQ2X+eax],0
je near .notexthq2xa
cmp byte[MMXSupport],0
je near .notexthq2xa
GUIDisplayCheckboxu 5,115,163,hqFilter,GUIVideoTexthq2x,1
.notexthq2xa ; 3x
@@ -1493,6 +1495,8 @@ DisplayGUIVideo:
mov al,[cvidmode]
cmp byte[GUIHQ3X+eax],0
je near .notexthq3xa
cmp byte[MMXSupport],0
je near .notexthq3xa
GUIDisplayCheckboxu 5,115,163,hqFilter,GUIVideoTexthq3x,1
.notexthq3xa ; 4x
@@ -1500,6 +1504,8 @@ DisplayGUIVideo:
mov al,[cvidmode]
cmp byte[GUIHQ4X+eax],0
je near .notexthq4xa
cmp byte[MMXSupport],0
je near .notexthq4xa
GUIDisplayCheckboxu 5,115,163,hqFilter,GUIVideoTexthq4x,1
.notexthq4xa
@@ -1541,6 +1547,8 @@ DisplayGUIVideo:
mov al,[cvidmode]
cmp byte[GUI2xVID+eax],0
je near .nocheckboxx
cmp byte[MMXSupport],0
je near .nocheckboxx
GUIDisplayCheckboxun 5,11,133,En2xSaI,1,GUIVideoTextc,1
GUIDisplayCheckboxun 5,11,143,En2xSaI,2,GUIVideoTextd,6
GUIDisplayCheckboxun 5,11,153,En2xSaI,3,GUIVideoTextd2,0