mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 08:59:58 +00:00
(menu_cbs_info.c) Don't use menu_list_get_ptr
This commit is contained in:
parent
933418db2b
commit
e1a1f961be
@ -29,14 +29,12 @@ static int action_info_default(unsigned type, const char *label)
|
||||
{
|
||||
size_t selection = 0;
|
||||
menu_displaylist_info_t info = {0};
|
||||
menu_list_t *menu_list = menu_list_get_ptr();
|
||||
file_list_t *menu_stack = menu_entries_get_menu_stack_ptr();
|
||||
|
||||
if (!menu_list)
|
||||
return 0;
|
||||
if (!menu_navigation_ctl(MENU_NAVIGATION_CTL_GET_SELECTION, &selection))
|
||||
return 0;
|
||||
|
||||
info.list = menu_list->menu_stack;
|
||||
info.list = menu_stack;
|
||||
info.directory_ptr = selection;
|
||||
strlcpy(info.label,
|
||||
menu_hash_to_str(MENU_LABEL_INFO_SCREEN),
|
||||
|
Loading…
Reference in New Issue
Block a user