diff options
author | 2016-02-10 22:38:08 +0100 | |
---|---|---|
committer | 2016-02-10 22:38:08 +0100 | |
commit | cd05adafe0fa1b23713cfbea9402f8decbf3f345 (patch) | |
tree | d088698ac93bae28cb76a757d2f0e50b351ca999 /src/emu/ui/optsmenu.cpp | |
parent | 186febc3dc45a7339b80bc50a1a3e5b270b855c4 (diff) |
ui: Removed the creation of cache file 'info_', and also removed 'Screen Type', '(no)Samples' and 'Stereo' filters. (TODO: pending to restore them in a proper manner).
Diffstat (limited to 'src/emu/ui/optsmenu.cpp')
-rw-r--r-- | src/emu/ui/optsmenu.cpp | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/src/emu/ui/optsmenu.cpp b/src/emu/ui/optsmenu.cpp index 1884547d8c5..44ed9e11a37 100644 --- a/src/emu/ui/optsmenu.cpp +++ b/src/emu/ui/optsmenu.cpp @@ -77,7 +77,6 @@ void ui_menu_game_options::handle() } break; } - case FILE_CATEGORY_FILTER: { if (m_event->iptkey == IPT_UI_LEFT) @@ -105,7 +104,6 @@ void ui_menu_game_options::handle() } break; } - case CATEGORY_FILTER: { if (m_event->iptkey == IPT_UI_LEFT) @@ -131,7 +129,6 @@ void ui_menu_game_options::handle() } break; } - case MANUFACT_CAT_FILTER: if (m_event->iptkey == IPT_UI_LEFT || m_event->iptkey == IPT_UI_RIGHT) { @@ -142,7 +139,6 @@ void ui_menu_game_options::handle() ui_menu::stack_push(global_alloc_clear<ui_menu_selector>(machine(), container, c_mnfct::ui, c_mnfct::actual)); break; - case YEAR_CAT_FILTER: if (m_event->iptkey == IPT_UI_LEFT || m_event->iptkey == IPT_UI_RIGHT) { @@ -153,44 +149,22 @@ void ui_menu_game_options::handle() ui_menu::stack_push(global_alloc_clear<ui_menu_selector>(machine(), container, c_year::ui, c_year::actual)); break; - - case SCREEN_CAT_FILTER: - if (m_event->iptkey == IPT_UI_LEFT || m_event->iptkey == IPT_UI_RIGHT) - { - (m_event->iptkey == IPT_UI_RIGHT) ? screen_filters::actual++ : screen_filters::actual--; - changed = true; - } - else if (m_event->iptkey == IPT_UI_SELECT) - { - std::vector<std::string> text(screen_filters::length); - for (int x = 0; x < screen_filters::length; ++x) - text[x] = screen_filters::text[x]; - - ui_menu::stack_push(global_alloc_clear<ui_menu_selector>(machine(), container, text, screen_filters::actual)); - } - - break; - case MISC_MENU: if (m_event->iptkey == IPT_UI_SELECT) ui_menu::stack_push(global_alloc_clear<ui_menu_misc_options>(machine(), container)); break; - case SOUND_MENU: if (m_event->iptkey == IPT_UI_SELECT) ui_menu::stack_push(global_alloc_clear<ui_menu_sound_options>(machine(), container)); break; - case DISPLAY_MENU: if (m_event->iptkey == IPT_UI_SELECT) ui_menu::stack_push(global_alloc_clear<ui_menu_display_options>(machine(), container)); break; - case CUSTOM_MENU: if (m_event->iptkey == IPT_UI_SELECT) ui_menu::stack_push(global_alloc_clear<ui_menu_custom_ui>(machine(), container)); break; - case CONTROLLER_MENU: if (m_event->iptkey == IPT_UI_SELECT) ui_menu::stack_push(global_alloc_clear<ui_menu_controller_mapping>(machine(), container)); @@ -258,14 +232,6 @@ void ui_menu_game_options::populate() convert_command_glyph(fbuff); item_append(fbuff.c_str(), c_year::ui[c_year::actual].c_str(), arrow_flags, (void *)(FPTR)YEAR_CAT_FILTER); } - // add screen subitem - else if (main_filters::actual == FILTER_SCREEN) - { - arrow_flags = get_arrow_flags(0, screen_filters::length - 1, screen_filters::actual); - fbuff = "^!Screen type"; - convert_command_glyph(fbuff); - item_append(fbuff.c_str(), screen_filters::text[screen_filters::actual], arrow_flags, (void *)(FPTR)SCREEN_CAT_FILTER); - } // add custom subitem else if (main_filters::actual == FILTER_CUSTOM) { |