summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/selgame.cpp
diff options
context:
space:
mode:
author dankan1890 <mewuidev2@gmail.com>2016-04-07 12:36:30 +0200
committer dankan1890 <mewuidev2@gmail.com>2016-04-07 12:36:30 +0200
commitb10ffebf58b06c45cc9c70a46471c717175be965 (patch)
tree416fced73ed677597f87080863849f7b46c23328 /src/emu/ui/selgame.cpp
parent0386367805a78c83a8e1719c1c4193f15a12e377 (diff)
Fixed the key handler for the error "roms or missing CHD."
Removed the delay in showing the description in the Advanced menu. Synchronized the translation files.
Diffstat (limited to 'src/emu/ui/selgame.cpp')
-rw-r--r--src/emu/ui/selgame.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/emu/ui/selgame.cpp b/src/emu/ui/selgame.cpp
index 1ac26804bb5..171c2c5d817 100644
--- a/src/emu/ui/selgame.cpp
+++ b/src/emu/ui/selgame.cpp
@@ -205,7 +205,10 @@ void ui_menu_select_game::handle()
{
// reset the error on any future m_event
if (ui_error)
+ {
ui_error = false;
+ machine().ui_input().reset();
+ }
// handle selections
else if (m_event->iptkey == IPT_UI_SELECT)
@@ -444,7 +447,7 @@ void ui_menu_select_game::handle()
// if we're in an error state, overlay an error message
if (ui_error)
machine().ui().draw_text_box(container, _("The selected machine is missing one or more required ROM or CHD images. "
- "Please select a different machine.\n\nPress any key (except ESC) to continue."), JUSTIFY_CENTER, 0.5f, 0.5f, UI_RED_COLOR);
+ "Please select a different machine.\n\nPress any key to continue."), JUSTIFY_CENTER, 0.5f, 0.5f, UI_RED_COLOR);
// handle filters selection from key shortcuts
if (check_filter)