(menu_displaylist.c) Hide Start Content until we have bound a core to the entry

This commit is contained in:
twinaphex 2015-06-09 00:33:44 +02:00
parent 2fe58d1ea6
commit c72c85c07a

View File

@ -1133,8 +1133,11 @@ static int menu_displaylist_parse_database_entry(menu_displaylist_info_t *info)
continue;
rdb_entry_start_game_selection_ptr = j;
menu_list_push(info->list, "Start Content", "rdb_entry_start_content",
MENU_FILE_PLAYLIST_ENTRY, 0);
if (((strcmp(playlist->entries[j].core_name, "DETECT")) != 0) &&
((strcmp(playlist->entries[j].core_path, "DETECT") != 0)))
menu_list_push(info->list, "Start Content", "rdb_entry_start_content",
MENU_FILE_PLAYLIST_ENTRY, 0);
}
}
}