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?
This commit is contained in:
Aaron Giles 2008-12-04 10:47:26 +00:00
parent 78622af0eb
commit f7a80ad726

View File

@ -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);