From 60fdcfd30e1dc335958104fa15744eba5b27e608 Mon Sep 17 00:00:00 2001 From: ipher <> Date: Tue, 23 Aug 2005 01:48:28 +0000 Subject: [PATCH] Video filters that do not work without MMX are now hidden in the Video menu when MMX is disabled or not available. --- zsnes/src/gui/guiwindp.inc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zsnes/src/gui/guiwindp.inc b/zsnes/src/gui/guiwindp.inc index 8d3d7c66..55fb4936 100644 --- a/zsnes/src/gui/guiwindp.inc +++ b/zsnes/src/gui/guiwindp.inc @@ -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