mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-21 10:20:21 +00:00
menu_entry_iterate - use menu_list_get_last_stack_actiondata
This commit is contained in:
parent
079b9f10ff
commit
07e5ce86b5
@ -362,8 +362,7 @@ int menu_entry_iterate(unsigned action)
|
||||
if (action != MENU_ACTION_NOOP || menu->need_refresh || menu_display_update_pending())
|
||||
runloop->frames.video.current.menu.framebuf.dirty = true;
|
||||
|
||||
cbs = (menu_file_list_cbs_t*)menu_list_get_actiondata_at_offset(
|
||||
menu_list->selection_buf, nav->selection_ptr);
|
||||
cbs = (menu_file_list_cbs_t*)menu_list_get_last_stack_actiondata(menu_list);
|
||||
|
||||
menu_list_get_last_stack(menu_list, NULL, &label, NULL);
|
||||
|
||||
|
@ -1302,7 +1302,8 @@ void rarch_main_set_state(unsigned cmd)
|
||||
global->system.frame_time_last = 0;
|
||||
}
|
||||
|
||||
runloop->is_menu = true;
|
||||
menu->need_refresh = true;
|
||||
runloop->is_menu = true;
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user