mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-15 06:50:32 +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