menu_displaylist_info - add hash for label

This commit is contained in:
twinaphex 2016-03-21 20:50:06 +01:00
parent 908e266cc4
commit b961a2b2b2
2 changed files with 2 additions and 0 deletions

View File

@ -2818,6 +2818,7 @@ static bool menu_displaylist_push_list_process(menu_displaylist_info_t *info)
if (info->need_push)
{
info->label_hash = menu_hash_calculate(info->label);
menu_driver_ctl(RARCH_MENU_CTL_POPULATE_ENTRIES, info);
ui_companion_driver_notify_list_loaded(info->list, info->menu_list);
}

View File

@ -129,6 +129,7 @@ typedef struct menu_displaylist_info
char path_b[PATH_MAX_LENGTH];
char path_c[PATH_MAX_LENGTH];
char label[PATH_MAX_LENGTH];
uint32_t label_hash;
char exts[PATH_MAX_LENGTH];
unsigned type;
unsigned type_default;