diff options
author | 2008-11-24 20:13:01 +0000 | |
---|---|---|
committer | 2008-11-24 20:13:01 +0000 | |
commit | 57c9bd0a87b612b2adbaede44cc1d70c5e985494 (patch) | |
tree | c33b8011b64d0f3c468b864584459cee99cb0165 /src/emu/ui.c | |
parent | edceb1c7f3335f1b480e2d8cc57173d4d47bc014 (diff) |
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)
Diffstat (limited to 'src/emu/ui.c')
-rw-r--r-- | src/emu/ui.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |