mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-15 14:59:37 +00:00
(Menu) Add menu_list_sort_on_alt
This commit is contained in:
parent
9bce38426c
commit
f3ec94246c
@ -362,7 +362,7 @@ int menu_entries_parse_list(file_list_t *list, file_list_t *menu_list,
|
||||
core_path, display_name, sizeof(display_name)))
|
||||
menu_list_set_alt_at_offset(list, i, display_name);
|
||||
}
|
||||
file_list_sort_on_alt(list);
|
||||
menu_list_sort_on_alt(list);
|
||||
}
|
||||
|
||||
driver.menu->scroll_indices_size = 0;
|
||||
|
@ -1477,7 +1477,7 @@ static int deferred_push_core_list_deferred(void *data, void *userdata,
|
||||
info[i].display_name);
|
||||
}
|
||||
|
||||
file_list_sort_on_alt(list);
|
||||
menu_list_sort_on_alt(list);
|
||||
|
||||
driver.menu->scroll_indices_size = 0;
|
||||
menu_entries_build_scroll_indices(list);
|
||||
|
@ -262,3 +262,8 @@ void menu_list_get_alt_at_offset(const file_list_t *list, size_t index,
|
||||
{
|
||||
file_list_get_alt_at_offset(list, index, alt);
|
||||
}
|
||||
|
||||
void menu_list_sort_on_alt(file_list_t *list)
|
||||
{
|
||||
file_list_sort_on_alt(list);
|
||||
}
|
||||
|
@ -45,6 +45,8 @@ void *menu_list_get_actiondata_at_offset(const file_list_t *list, size_t index);
|
||||
|
||||
size_t menu_list_get_stack_size(void);
|
||||
|
||||
void menu_list_sort_on_alt(file_list_t *list);
|
||||
|
||||
size_t menu_list_get_size(void);
|
||||
|
||||
void *menu_list_get_last_stack_actiondata(const file_list_t *list);
|
||||
|
Loading…
Reference in New Issue
Block a user