From 57c9bd0a87b612b2adbaede44cc1d70c5e985494 Mon Sep 17 00:00:00 2001 From: davidhay Date: Mon, 24 Nov 2008 20:13:01 +0000 Subject: [PATCH] make non-critical UI warnings yellow instead so that they stand out [BarnacleEd] (was posted on Mametesters, I quite like it myself, although obviously it's open for debate) --- src/emu/ui.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/emu/ui.c b/src/emu/ui.c index 26c51a7cec0..75a2de98aff 100644 --- a/src/emu/ui.c +++ b/src/emu/ui.c @@ -290,6 +290,8 @@ int ui_display_startup_screens(running_machine *machine, int first_time, int sho if (show_warnings && astring_len(warnings_string(machine, messagebox_text)) > 0) { ui_set_handler(handler_messagebox_ok, 0); + if (machine->gamedrv->flags & (GAME_WRONG_COLORS | GAME_IMPERFECT_COLORS | GAME_IMPERFECT_GRAPHICS | GAME_IMPERFECT_SOUND | GAME_NO_SOUND)) + messagebox_backcolor = UI_YELLOWCOLOR; if (machine->gamedrv->flags & (GAME_NOT_WORKING | GAME_UNEMULATED_PROTECTION)) messagebox_backcolor = UI_REDCOLOR; }