mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
menu_cbs_right.c - cleanup
This commit is contained in:
parent
a95762e5cb
commit
e6360627ab
1 changed files with 4 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue