mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
menu_cbs_right.c - cleanup
This commit is contained in:
parent
a95762e5cb
commit
e6360627ab
@ -150,10 +150,11 @@ static int action_right_mainmenu(unsigned type, const char *label,
|
||||
|
||||
if (list_size == 1)
|
||||
{
|
||||
size_t list_size_horiz = menu_driver_list_get_size(MENU_LIST_HORIZONTAL);
|
||||
size_t list_size_tabs = menu_driver_list_get_size(MENU_LIST_TABS);
|
||||
menu_navigation_ctl(MENU_NAVIGATION_CTL_SET_SELECTION, &selection);
|
||||
if (menu_driver_list_get_selection() !=
|
||||
(menu_driver_list_get_size(MENU_LIST_HORIZONTAL)
|
||||
+ menu_driver_list_get_size(MENU_LIST_TABS))
|
||||
|
||||
if ((menu_driver_list_get_selection() != (list_size_horiz + list_size_tabs))
|
||||
|| settings->menu.navigation.wraparound.enable)
|
||||
push_list = 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user