diff options
author | cracyc <cracyc@users.noreply.github.com> | 2016-10-26 09:54:42 -0500 |
---|---|---|
committer | cracyc <cracyc@users.noreply.github.com> | 2016-10-26 09:54:42 -0500 |
commit | 4945667446a23494cdd786ba5819f5f69132d31a (patch) | |
tree | 93fccb58884d03670851c26c8791c2bf80dfc14c | |
parent | 73e62b4056c9bcb4b45e5927c6a6c3e718c06494 (diff) |
selgame/soft: passing an empty string uses the current game name for infos so don't do that while in the main menu, since there's further check just below, removing these should be fine (nw)
-rw-r--r-- | src/frontend/mame/ui/selgame.cpp | 2 | ||||
-rw-r--r-- | src/frontend/mame/ui/selsoft.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/frontend/mame/ui/selgame.cpp b/src/frontend/mame/ui/selgame.cpp index b23d333ba4b..8a471c2a76f 100644 --- a/src/frontend/mame/ui/selgame.cpp +++ b/src/frontend/mame/ui/selgame.cpp @@ -341,7 +341,7 @@ void menu_select_game::handle() m_search[0] = '\0'; reset(reset_options::SELECT_FIRST); } - else if (menu_event->iptkey == IPT_UI_DATS && mame_machine_manager::instance()->lua()->call_plugin("", "data_list")) + else if (menu_event->iptkey == IPT_UI_DATS) { // handle UI_DATS if (!isfavorite()) diff --git a/src/frontend/mame/ui/selsoft.cpp b/src/frontend/mame/ui/selsoft.cpp index a94b69a5b12..8556f29dc2f 100644 --- a/src/frontend/mame/ui/selsoft.cpp +++ b/src/frontend/mame/ui/selsoft.cpp @@ -242,7 +242,7 @@ void menu_select_software::handle() // handle UI_DOWN_FILTER highlight++; } - else if (menu_event->iptkey == IPT_UI_DATS && mame_machine_manager::instance()->lua()->call_plugin("", "data_list")) + else if (menu_event->iptkey == IPT_UI_DATS) { // handle UI_DATS ui_software_info *ui_swinfo = (ui_software_info *)menu_event->itemref; |