Only create autodetect if we have info files.

This commit is contained in:
Themaister 2013-10-05 18:40:12 +02:00
parent bf0bce64b0
commit fa42aaf9cb

View File

@ -290,7 +290,7 @@ static void rgui_settings_populate_entries(rgui_handle_t *rgui)
if (rgui->history)
rgui_list_push(rgui->selection_buf, "Load Game (History)", RGUI_SETTINGS_OPEN_HISTORY, 0);
if (rgui->core_info)
if (rgui->core_info && rgui->core_info->count)
rgui_list_push(rgui->selection_buf, "Load Game (Detect Core)", RGUI_SETTINGS_OPEN_FILEBROWSER_DEFERRED_CORE, 0);
if (rgui->info.library_name || g_extern.system.info.library_name)