mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +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_INFO_MESSAGE, 0, 0);
|
||||
|
||||
if (!string_is_empty(info->label))
|
||||
info->label_hash = msg_hash_calculate(info->label);
|
||||
menu_driver_populate_entries(info);
|
||||
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_default = 0;
|
||||
info->flags = 0;
|
||||
info->label_hash = 0;
|
||||
info->directory_ptr = 0;
|
||||
info->label = NULL;
|
||||
info->path = NULL;
|
||||
|
@ -194,7 +194,6 @@ typedef struct menu_displaylist_info
|
||||
unsigned type;
|
||||
unsigned type_default;
|
||||
unsigned flags;
|
||||
uint32_t label_hash;
|
||||
size_t directory_ptr;
|
||||
file_list_t *list;
|
||||
file_list_t *menu_list;
|
||||
|
Loading…
x
Reference in New Issue
Block a user