summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2008-12-04 10:47:26 +0000
committer Aaron Giles <aaron@aarongiles.com>2008-12-04 10:47:26 +0000
commitf7a80ad72695f1b846844fc33f6d41ac46b15b27 (patch)
treef4212c9afecbaa26ddfb1e246ac41199fe70e863
parent78622af0ebcb0e21a20c253bdc559734fd1994ed (diff)
From: Edward Swiftwood [mailto:payphoneed@gmail.com]
Sent: Tuesday, December 02, 2008 8:18 AM To: submit@mamedev.org Subject: UI Yellow patch part 2 Enjoy?
-rw-r--r--src/emu/uimenu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/uimenu.c b/src/emu/uimenu.c
index da44f14d55b..4672d392e05 100644
--- a/src/emu/uimenu.c
+++ b/src/emu/uimenu.c
@@ -3412,6 +3412,8 @@ static void menu_select_game_custom_render(running_machine *machine, ui_menu *me
/* draw a box */
color = UI_FILLCOLOR;
+ if (driver != NULL && (driver->flags & (GAME_IMPERFECT_GRAPHICS | GAME_WRONG_COLORS | GAME_IMPERFECT_COLORS | GAME_NO_SOUND | GAME_IMPERFECT_SOUND)) != 0)
+ color = UI_YELLOWCOLOR;
if (driver != NULL && (driver->flags & (GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION)) != 0)
color = UI_REDCOLOR;
ui_draw_outlined_box(x1, y1, x2, y2, color);