(Content collection - can now select core for collection entry that

has only one possible core)
This commit is contained in:
twinaphex 2015-05-27 05:16:44 +02:00
parent 65b8b2e0cb
commit ffc8e31e2e
1 changed files with 19 additions and 4 deletions

View File

@ -61,11 +61,26 @@ static int action_ok_file_load_with_detect_core(const char *path,
sizeof(menu->deferred_path));
if (ret == -1)
{
if (!strcmp(label, "collection"))
{
info.list = menu->menu_list->menu_stack;
info.type = 0;
info.directory_ptr = idx;
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);
}
else
{
event_command(EVENT_CMD_LOAD_CORE);
menu_entries_common_load_content(false);
return -1;
}
}
if (ret == 0)
{