mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 12:39:54 +00:00
(RMenu) Cleanup
This commit is contained in:
parent
9eacc255ea
commit
f161883cf5
@ -69,13 +69,14 @@ static int rmenu_entry_iterate(unsigned action)
|
|||||||
{
|
{
|
||||||
const char *label = NULL;
|
const char *label = NULL;
|
||||||
menu_file_list_cbs_t *cbs = NULL;
|
menu_file_list_cbs_t *cbs = NULL;
|
||||||
|
menu_navigation_t *nav = menu_navigation_get_ptr();
|
||||||
menu_handle_t *menu = menu_driver_get_ptr();
|
menu_handle_t *menu = menu_driver_get_ptr();
|
||||||
|
|
||||||
if (!menu)
|
if (!menu)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
cbs = (menu_file_list_cbs_t*)menu_list_get_actiondata_at_offset(
|
cbs = (menu_file_list_cbs_t*)menu_list_get_actiondata_at_offset(
|
||||||
menu->menu_list->selection_buf, menu->navigation.selection_ptr);
|
menu->menu_list->selection_buf, nav->selection_ptr);
|
||||||
|
|
||||||
menu_list_get_last_stack(menu->menu_list, NULL, &label, NULL);
|
menu_list_get_last_stack(menu->menu_list, NULL, &label, NULL);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user