(Menu) Add menu_list_sort_on_alt

This commit is contained in:
twinaphex 2014-10-17 23:46:53 +02:00
parent 9bce38426c
commit f3ec94246c
4 changed files with 9 additions and 2 deletions

View File

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

View File

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

View File

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

View File

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