mirror of
https://github.com/libretro/RetroArch
synced 2025-04-02 16:20:39 +00:00
ITERATE_TYPE_DEFAULT - take out weird selection manipulation
This commit is contained in:
parent
377004dbf7
commit
12075b9cc1
@ -481,8 +481,6 @@ int menu_iterate(bool render_this_frame, unsigned action)
|
|||||||
BIT64_SET(menu->state, MENU_STATE_POST_ITERATE);
|
BIT64_SET(menu->state, MENU_STATE_POST_ITERATE);
|
||||||
break;
|
break;
|
||||||
case ITERATE_TYPE_DEFAULT:
|
case ITERATE_TYPE_DEFAULT:
|
||||||
selection = max(min(selection, menu_list_get_size(menu_list)-1), 0);
|
|
||||||
|
|
||||||
menu_entry_get(&entry, selection, NULL, false);
|
menu_entry_get(&entry, selection, NULL, false);
|
||||||
ret = menu_entry_action(&entry, selection, (enum menu_action)action);
|
ret = menu_entry_action(&entry, selection, (enum menu_action)action);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user