diff options
author | 2016-07-10 02:42:38 +1000 | |
---|---|---|
committer | 2016-07-10 03:01:13 +1000 | |
commit | 1abf53ca6a7a01ae2d4491825a97b0a4baef634a (patch) | |
tree | 2a061c81dab912dbf52f8cdd54f97507820029dd /src/frontend/mame/ui/filesel.cpp | |
parent | 2364b48f0dd496de3908fa4d3bcd24693a5f6231 (diff) |
UI code refactoring: [Vas Crabb]
* Split out main menu and dat box drawing from base class
* Make a bunch of class statics proper per-machine persistent objects
* Object lifecycle fixes
Diffstat (limited to 'src/frontend/mame/ui/filesel.cpp')
-rw-r--r-- | src/frontend/mame/ui/filesel.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/frontend/mame/ui/filesel.cpp b/src/frontend/mame/ui/filesel.cpp index 34e86c99fe8..673f6a96161 100644 --- a/src/frontend/mame/ui/filesel.cpp +++ b/src/frontend/mame/ui/filesel.cpp @@ -392,18 +392,18 @@ void menu_file_selector::handle() case SELECTOR_ENTRY_TYPE_EMPTY: // empty slot - unload m_result = result::EMPTY; - menu::stack_pop(machine()); + stack_pop(); break; case SELECTOR_ENTRY_TYPE_CREATE: // create m_result = result::CREATE; - menu::stack_pop(machine()); + stack_pop(); break; case SELECTOR_ENTRY_TYPE_SOFTWARE_LIST: m_result = result::SOFTLIST; - menu::stack_pop(machine()); + stack_pop(); break; case SELECTOR_ENTRY_TYPE_DRIVE: @@ -424,7 +424,7 @@ void menu_file_selector::handle() // file m_current_file.assign(entry->fullpath); m_result = result::FILE; - menu::stack_pop(machine()); + stack_pop(); break; } @@ -551,7 +551,7 @@ void menu_select_rw::handle() if (event != nullptr && event->iptkey == IPT_UI_SELECT) { m_result = result_from_itemref(event->itemref); - menu::stack_pop(machine()); + stack_pop(); } } |