mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Get rid of more unnecessary hashing
This commit is contained in:
parent
366a1d58f8
commit
b4a9ac37ff
@ -4079,8 +4079,6 @@ bool menu_displaylist_process(menu_displaylist_info_t *info)
|
|||||||
MENU_ENUM_LABEL_NO_PLAYLIST_ENTRIES_AVAILABLE,
|
MENU_ENUM_LABEL_NO_PLAYLIST_ENTRIES_AVAILABLE,
|
||||||
MENU_INFO_MESSAGE, 0, 0);
|
MENU_INFO_MESSAGE, 0, 0);
|
||||||
|
|
||||||
if (!string_is_empty(info->label))
|
|
||||||
info->label_hash = msg_hash_calculate(info->label);
|
|
||||||
menu_driver_populate_entries(info);
|
menu_driver_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);
|
||||||
}
|
}
|
||||||
@ -4126,7 +4124,6 @@ void menu_displaylist_info_init(menu_displaylist_info_t *info)
|
|||||||
info->type = 0;
|
info->type = 0;
|
||||||
info->type_default = 0;
|
info->type_default = 0;
|
||||||
info->flags = 0;
|
info->flags = 0;
|
||||||
info->label_hash = 0;
|
|
||||||
info->directory_ptr = 0;
|
info->directory_ptr = 0;
|
||||||
info->label = NULL;
|
info->label = NULL;
|
||||||
info->path = NULL;
|
info->path = NULL;
|
||||||
|
@ -194,7 +194,6 @@ typedef struct menu_displaylist_info
|
|||||||
unsigned type;
|
unsigned type;
|
||||||
unsigned type_default;
|
unsigned type_default;
|
||||||
unsigned flags;
|
unsigned flags;
|
||||||
uint32_t label_hash;
|
|
||||||
size_t directory_ptr;
|
size_t directory_ptr;
|
||||||
file_list_t *list;
|
file_list_t *list;
|
||||||
file_list_t *menu_list;
|
file_list_t *menu_list;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user