diff options
author | Vas Crabb <vas@vastheman.com> | 2017-08-10 18:05:54 +1000 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2017-08-10 18:05:54 +1000 |
commit | b363e92b5d14d988833242b4ce876bcdfac3cc65 (patch) | |
tree | a3b23a966362eb76bcbf6d2afe3120c630093d3d /src/frontend/mame/ui/selsoft.cpp | |
parent | 7145f33cdf207267a7d0f3a56932e94f154851d0 (diff) |
Don't process every character individually when searching - this reduces
lag if you keep typing while a big list is searched.
(nw) patch up German translation
Diffstat (limited to 'src/frontend/mame/ui/selsoft.cpp')
-rw-r--r-- | src/frontend/mame/ui/selsoft.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/frontend/mame/ui/selsoft.cpp b/src/frontend/mame/ui/selsoft.cpp index a3a3cd072ef..e64a6136cf7 100644 --- a/src/frontend/mame/ui/selsoft.cpp +++ b/src/frontend/mame/ui/selsoft.cpp @@ -244,11 +244,6 @@ void menu_select_software::handle() } } } - else if (menu_event->iptkey == IPT_SPECIAL) - { - // typed characters append to the buffer - inkey_special(menu_event); - } } } } @@ -528,16 +523,6 @@ void menu_select_software::inkey_select(const event *menu_event) } } -//------------------------------------------------- -// handle special key event -//------------------------------------------------- - -void menu_select_software::inkey_special(const event *menu_event) -{ - if (input_character(m_search, menu_event->unichar, uchar_is_printable)) - reset(reset_options::SELECT_FIRST); -} - //------------------------------------------------- // load custom filters info from file |