mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-24 20:26:52 +00:00
menu_entries_prepend - use menu_setting_find_enum if enum_idx
is set
This commit is contained in:
parent
6f3b8c4049
commit
8720048b4e
@ -603,7 +603,10 @@ void menu_entries_prepend(file_list_t *list, const char *path, const char *label
|
||||
|
||||
file_list_set_actiondata(list, idx, cbs);
|
||||
|
||||
cbs->setting = menu_setting_find(label);
|
||||
if (cbs->enum_idx == MENU_ENUM_LABEL_UNKNOWN)
|
||||
cbs->setting = menu_setting_find(label);
|
||||
else
|
||||
cbs->setting = menu_setting_find_enum(cbs->enum_idx);
|
||||
|
||||
menu_cbs_init(list, cbs, path, label, type, idx);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user