menu_displaylist_info - add hash for label
This commit is contained in:
parent
908e266cc4
commit
b961a2b2b2
|
@ -2818,6 +2818,7 @@ static bool menu_displaylist_push_list_process(menu_displaylist_info_t *info)
|
||||||
|
|
||||||
if (info->need_push)
|
if (info->need_push)
|
||||||
{
|
{
|
||||||
|
info->label_hash = menu_hash_calculate(info->label);
|
||||||
menu_driver_ctl(RARCH_MENU_CTL_POPULATE_ENTRIES, info);
|
menu_driver_ctl(RARCH_MENU_CTL_POPULATE_ENTRIES, info);
|
||||||
ui_companion_driver_notify_list_loaded(info->list, info->menu_list);
|
ui_companion_driver_notify_list_loaded(info->list, info->menu_list);
|
||||||
}
|
}
|
||||||
|
|
|
@ -129,6 +129,7 @@ typedef struct menu_displaylist_info
|
||||||
char path_b[PATH_MAX_LENGTH];
|
char path_b[PATH_MAX_LENGTH];
|
||||||
char path_c[PATH_MAX_LENGTH];
|
char path_c[PATH_MAX_LENGTH];
|
||||||
char label[PATH_MAX_LENGTH];
|
char label[PATH_MAX_LENGTH];
|
||||||
|
uint32_t label_hash;
|
||||||
char exts[PATH_MAX_LENGTH];
|
char exts[PATH_MAX_LENGTH];
|
||||||
unsigned type;
|
unsigned type;
|
||||||
unsigned type_default;
|
unsigned type_default;
|
||||||
|
|
Loading…
Reference in New Issue