summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/simpleselgame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/ui/simpleselgame.cpp')
-rw-r--r--src/emu/ui/simpleselgame.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/emu/ui/simpleselgame.cpp b/src/emu/ui/simpleselgame.cpp
index 671af78ec19..f651880ac1e 100644
--- a/src/emu/ui/simpleselgame.cpp
+++ b/src/emu/ui/simpleselgame.cpp
@@ -232,10 +232,9 @@ void ui_simple_menu_select_game::populate()
if (matchcount == 0)
{
std::string txt;
- strprintf(txt, "No %s found. Please check the rompath specified in the %s.ini file.\n\n"
+ strprintf(txt, "No machines found. Please check the rompath specified in the %s.ini file.\n\n"
"If this is your first time using %s, please see the config.txt file in "
"the docs directory for information on configuring %s.",
- emulator_info::get_gamesnoun(),
emulator_info::get_configname(),
emulator_info::get_appname(),emulator_info::get_appname() );
item_append(txt.c_str(), nullptr, MENU_FLAG_MULTILINE | MENU_FLAG_REDTEXT, nullptr);
@@ -263,8 +262,9 @@ void ui_simple_menu_select_game::populate()
if (ui_menu::stack_has_special_main_menu())
{
item_append(MENU_SEPARATOR_ITEM, nullptr, 0, nullptr);
- item_append("Configure Options", nullptr, 0, (void *)1);
- item_append("Save Configuration", nullptr, 0, (void *)2);
+ item_append(_("Configure Options"), nullptr, 0, (void *)1);
+ item_append(_("Save Configuration"), nullptr, 0, (void *)2);
+ skip_main_items = 2;
}
// configure the custom rendering
@@ -317,8 +317,8 @@ void ui_simple_menu_select_game::custom_render(void *selectedref, float top, flo
DRAW_NORMAL, UI_TEXT_COLOR, UI_TEXT_BG_COLOR, nullptr, nullptr);
// determine the text to render below
- driver = ((FPTR)selectedref > 2) ? (const game_driver *)selectedref : nullptr;
- if ((FPTR)driver > 2)
+ driver = ((FPTR)selectedref > skip_main_items) ? (const game_driver *)selectedref : nullptr;
+ if (driver != nullptr)
{
const char *gfxstat, *soundstat;