menu_entry_iterate - use menu_list_get_last_stack_actiondata

This commit is contained in:
twinaphex 2015-05-11 18:11:11 +02:00
parent 079b9f10ff
commit 07e5ce86b5
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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;