diff options
author | 2016-02-11 00:26:12 +0100 | |
---|---|---|
committer | 2016-02-11 00:26:12 +0100 | |
commit | 5e5f2788d68256b51fb7cd0d9c3a4938286b497e (patch) | |
tree | b440d908031575719f8c7ed60828008788fba011 /src/emu/ui/custmenu.cpp | |
parent | 097ae2fe5c0c32d540301ceac6600c5161dacb50 (diff) |
Rearranged some filters. nw
Diffstat (limited to 'src/emu/ui/custmenu.cpp')
-rw-r--r-- | src/emu/ui/custmenu.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/ui/custmenu.cpp b/src/emu/ui/custmenu.cpp index 2abbd533d75..27cdf2c17c4 100644 --- a/src/emu/ui/custmenu.cpp +++ b/src/emu/ui/custmenu.cpp @@ -83,14 +83,14 @@ void ui_menu_custom_filter::handle() { custfltr::other[pos]--; for ( ; custfltr::other[pos] > FILTER_UNAVAILABLE && (custfltr::other[pos] == FILTER_CATEGORY - || custfltr::other[pos] == FILTER_FAVORITE_GAME); custfltr::other[pos]--) ; + || custfltr::other[pos] == FILTER_FAVORITE); custfltr::other[pos]--) ; changed = true; } else if (m_event->iptkey == IPT_UI_RIGHT && custfltr::other[pos] < FILTER_LAST - 1) { custfltr::other[pos]++; for ( ; custfltr::other[pos] < FILTER_LAST && (custfltr::other[pos] == FILTER_CATEGORY - || custfltr::other[pos] == FILTER_FAVORITE_GAME); custfltr::other[pos]++) ; + || custfltr::other[pos] == FILTER_FAVORITE); custfltr::other[pos]++) ; changed = true; } else if (m_event->iptkey == IPT_UI_SELECT) @@ -98,7 +98,7 @@ void ui_menu_custom_filter::handle() size_t total = main_filters::length; std::vector<std::string> s_sel(total); for (size_t index = 0; index < total; ++index) - if (index <= FILTER_UNAVAILABLE || index == FILTER_CATEGORY || index == FILTER_FAVORITE_GAME || index == FILTER_CUSTOM) + if (index <= FILTER_UNAVAILABLE || index == FILTER_CATEGORY || index == FILTER_FAVORITE || index == FILTER_CUSTOM) s_sel[index] = "_skip_"; else s_sel[index] = main_filters::text[index]; |