From f7a80ad72695f1b846844fc33f6d41ac46b15b27 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Thu, 4 Dec 2008 10:47:26 +0000 Subject: [PATCH] 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? --- src/emu/uimenu.c | 2 ++ 1 file changed, 2 insertions(+) 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);