From 18ee239d33ed3cf863a0f33e76306b2901cf9671 Mon Sep 17 00:00:00 2001 From: ipher <> Date: Thu, 31 Mar 2005 23:57:06 +0000 Subject: [PATCH] Fixed Button color in Key Combo window when another window is open --- zsnes/src/gui/guiwindp.inc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/zsnes/src/gui/guiwindp.inc b/zsnes/src/gui/guiwindp.inc index bda9dc3a..80e675ae 100644 --- a/zsnes/src/gui/guiwindp.inc +++ b/zsnes/src/gui/guiwindp.inc @@ -6124,9 +6124,11 @@ DisplayGUICombo: GUIOuttextwin2c 16,14,94,GUIGameDisplayKy ; Buttons - mov al,[TextColorSp+2] - add al,15 - mov byte[GUItextcolor],al + mov byte[GUItextcolor],217 + cmp byte[GUIWincoladd],0 + je .zero20 + mov byte[GUItextcolor],211 +.zero20 DrawGUIButton 16,202,20,246,31,GUIComboTextA,60,-1,0 DrawGUIButton 16,202,35,246,46,GUIComboTextB,61,-1,0 DrawGUIButton 16,202,50,246,61,GUIComboTextC,62,-1,0