mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
parse_generic - Gpo through variable
This commit is contained in:
parent
246855ff97
commit
1113a6de46
@ -3520,6 +3520,7 @@ static int menu_displaylist_parse_generic(
|
|||||||
bool is_dir;
|
bool is_dir;
|
||||||
char label[PATH_MAX_LENGTH] = {0};
|
char label[PATH_MAX_LENGTH] = {0};
|
||||||
const char *path = NULL;
|
const char *path = NULL;
|
||||||
|
enum msg_hash_enums enum_idx = MSG_UNKNOWN;
|
||||||
enum msg_file_type file_type = FILE_TYPE_NONE;
|
enum msg_file_type file_type = FILE_TYPE_NONE;
|
||||||
|
|
||||||
switch (str_list->elems[i].attr.i)
|
switch (str_list->elems[i].attr.i)
|
||||||
@ -3608,7 +3609,7 @@ static int menu_displaylist_parse_generic(
|
|||||||
|
|
||||||
items_found++;
|
items_found++;
|
||||||
menu_entries_append_enum(info->list, path, label,
|
menu_entries_append_enum(info->list, path, label,
|
||||||
MSG_UNKNOWN,
|
enum_idx,
|
||||||
file_type, 0, 0);
|
file_type, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user