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
This commit is contained in:
Aaron Giles 2008-09-26 05:32:29 +00:00
parent 0f775dc84e
commit decc35b5f2

View File

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