From decc35b5f26bc40c8065a4c71baf04ceeb816c68 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Fri, 26 Sep 2008 05:32:29 +0000 Subject: [PATCH] From: Oliver Stoeneberg [mailto:oliverst@online.de] Sent: Thursday, September 25, 2008 3:15 AM To: submit@mamedev.org Subject: using macros in UI message This patch changes the message, that appears when no roms have been found, to use the macros instead of hard-coded strings --- src/emu/uimenu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/emu/uimenu.c b/src/emu/uimenu.c index 6e93c234946..b85d4faee82 100644 --- a/src/emu/uimenu.c +++ b/src/emu/uimenu.c @@ -3151,9 +3151,9 @@ static void menu_select_game_populate(running_machine *machine, ui_menu *menu, s /* if nothing there, add a single multiline item and return */ if (matchcount == 0) { - ui_menu_item_append(menu, "No games found. Please check the rompath specified in the mame.ini file.\n\n" - "If this is your first time using MAME, please see the config.txt file in " - "the docs directory for information on configuring MAME.", NULL, MENU_FLAG_MULTILINE | MENU_FLAG_REDTEXT, NULL); + ui_menu_item_append(menu, "No "GAMESNOUN" found. Please check the rompath specified in the "CONFIGNAME".ini file.\n\n" + "If this is your first time using "APPNAME", please see the config.txt file in " + "the docs directory for information on configuring "APPNAME, NULL, MENU_FLAG_MULTILINE | MENU_FLAG_REDTEXT, NULL); return; }