mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Dehardcode MSG_UNKNOWN usage
This commit is contained in:
parent
9092d92a66
commit
35471433fd
@ -3317,6 +3317,7 @@ static int menu_displaylist_parse_cores(
|
||||
bool is_dir;
|
||||
char label[PATH_MAX_LENGTH] = {0};
|
||||
const char *path = NULL;
|
||||
enum msg_hash_enums enum_idx = MSG_UNKNOWN;
|
||||
enum msg_file_type file_type = FILE_TYPE_NONE;
|
||||
|
||||
switch (str_list->elems[i].attr.i)
|
||||
@ -3368,7 +3369,7 @@ static int menu_displaylist_parse_cores(
|
||||
|
||||
items_found++;
|
||||
menu_entries_append_enum(info->list, path, label,
|
||||
MSG_UNKNOWN,
|
||||
enum_idx,
|
||||
file_type, 0, 0);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user