summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ui/custmenu.cpp
diff options
context:
space:
mode:
author dankan1890 <mewuidev2@gmail.com>2016-02-11 00:26:12 +0100
committer dankan1890 <mewuidev2@gmail.com>2016-02-11 00:26:12 +0100
commit5e5f2788d68256b51fb7cd0d9c3a4938286b497e (patch)
treeb440d908031575719f8c7ed60828008788fba011 /src/emu/ui/custmenu.cpp
parent097ae2fe5c0c32d540301ceac6600c5161dacb50 (diff)
Rearranged some filters. nw
Diffstat (limited to 'src/emu/ui/custmenu.cpp')
-rw-r--r--src/emu/ui/custmenu.cpp6
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];