mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(menu_entry.c) Get rid of one usage of menu_navigation_get_ptr
This commit is contained in:
parent
bb34a54530
commit
59b9ef6f5f
@ -339,9 +339,9 @@ bool menu_entry_is_currently_selected(unsigned id)
|
||||
int menu_entry_select(uint32_t i)
|
||||
{
|
||||
menu_entry_t entry = {{0}};
|
||||
menu_navigation_t *nav = menu_navigation_get_ptr();
|
||||
|
||||
nav->selection_ptr = i;
|
||||
menu_navigation_ctl(MENU_NAVIGATION_CTL_SET_SELECTION, &i);
|
||||
|
||||
menu_entry_get(&entry, i, NULL, false);
|
||||
|
||||
return menu_entry_action(&entry, i, MENU_ACTION_SELECT);
|
||||
|
Loading…
x
Reference in New Issue
Block a user