mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-30 23:03:42 +00:00
Refactor action_ok_file_load_with_detect_core
This commit is contained in:
parent
80445e2fca
commit
24bb5a0e6e
@ -84,12 +84,13 @@ static int action_ok_file_load_with_detect_core(const char *path,
|
||||
rdb_entry_start_game_selection_ptr = idx;
|
||||
strlcpy(info.path, settings->libretro_directory, sizeof(info.path));
|
||||
strlcpy(info.label, "deferred_core_list_set", sizeof(info.label));
|
||||
|
||||
return menu_displaylist_push_list(&info, DISPLAYLIST_GENERIC);
|
||||
ret = menu_displaylist_push_list(&info, DISPLAYLIST_GENERIC);
|
||||
break;
|
||||
default:
|
||||
event_command(EVENT_CMD_LOAD_CORE);
|
||||
menu_common_load_content(false);
|
||||
return -1;
|
||||
ret = -1;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case 0:
|
||||
|
Loading…
Reference in New Issue
Block a user