mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 18:32:44 +00:00
MENU_ENTRIES_CTL_LIST_GET no longer used by menu drivers
This commit is contained in:
parent
4f568fa68f
commit
255cd3a937
@ -1197,13 +1197,11 @@ static void stripes_selection_pointer_changed(
|
||||
menu_entry_t entry;
|
||||
size_t num = 0;
|
||||
int threshold = 0;
|
||||
menu_list_t *menu_list = NULL;
|
||||
file_list_t *selection_buf = menu_entries_get_selection_buf_ptr(0);
|
||||
size_t selection = menu_navigation_get_selection();
|
||||
const char *thumb_ident = stripes_thumbnails_ident('R');
|
||||
const char *lft_thumb_ident= stripes_thumbnails_ident('L');
|
||||
|
||||
menu_entries_ctl(MENU_ENTRIES_CTL_LIST_GET, &menu_list);
|
||||
menu_entry_init(&entry);
|
||||
|
||||
if (!stripes)
|
||||
|
@ -1321,15 +1321,12 @@ static void xmb_selection_pointer_changed(
|
||||
menu_entry_t entry;
|
||||
size_t num = 0;
|
||||
int threshold = 0;
|
||||
menu_list_t *menu_list = NULL;
|
||||
file_list_t *selection_buf = menu_entries_get_selection_buf_ptr(0);
|
||||
size_t selection = menu_navigation_get_selection();
|
||||
|
||||
if (!xmb)
|
||||
return;
|
||||
|
||||
menu_entries_ctl(MENU_ENTRIES_CTL_LIST_GET, &menu_list);
|
||||
|
||||
menu_entry_init(&entry);
|
||||
entry.path_enabled = false;
|
||||
entry.label_enabled = false;
|
||||
|
@ -35,8 +35,6 @@ RETRO_BEGIN_DECLS
|
||||
enum menu_entries_ctl_state
|
||||
{
|
||||
MENU_ENTRIES_CTL_NONE = 0,
|
||||
MENU_ENTRIES_CTL_LIST_GET,
|
||||
MENU_ENTRIES_CTL_LIST_DEINIT,
|
||||
MENU_ENTRIES_CTL_SETTINGS_GET,
|
||||
MENU_ENTRIES_CTL_SET_REFRESH,
|
||||
MENU_ENTRIES_CTL_UNSET_REFRESH,
|
||||
|
@ -4790,14 +4790,6 @@ bool menu_entries_ctl(enum menu_entries_ctl_state state, void *data)
|
||||
if (!menu_st->entries.need_refresh)
|
||||
return false;
|
||||
break;
|
||||
case MENU_ENTRIES_CTL_LIST_GET:
|
||||
{
|
||||
menu_list_t **list = (menu_list_t**)data;
|
||||
if (!list)
|
||||
return false;
|
||||
*list = menu_st->entries.list;
|
||||
}
|
||||
return true;
|
||||
case MENU_ENTRIES_CTL_SETTINGS_GET:
|
||||
{
|
||||
rarch_setting_t **settings = (rarch_setting_t**)data;
|
||||
|
Loading…
x
Reference in New Issue
Block a user