Remove core_info_get_first_custom_config - no longer used

This commit is contained in:
twinaphex 2014-11-08 15:16:25 +01:00
parent dbfc08b2c0
commit df24bf204c
2 changed files with 0 additions and 19 deletions

View File

@ -490,19 +490,3 @@ void core_info_list_get_missing_firmware(core_info_list_t *core_info_list,
qsort(info->firmware, info->firmware_count, sizeof(*info->firmware),
core_info_firmware_cmp);
}
bool core_info_get_first_custom_config(const char *core_id,
char *buf, size_t sizeof_buf)
{
if (!core_id || !buf || !sizeof_buf)
return false;
fill_pathname_join(buf, g_defaults.menu_config_dir,
path_basename(core_id), sizeof_buf);
fill_pathname(buf, buf, ".cfg", sizeof_buf);
if (buf[0] == '\0')
return false;
return path_file_exists(buf);
}

View File

@ -100,9 +100,6 @@ bool core_info_list_get_display_name(core_info_list_t *list,
bool core_info_list_get_by_id(core_info_list_t *core_info_list,
core_info_t *out_info, const char *core_id);
bool core_info_get_first_custom_config(const char *core_id,
char *buf, size_t sizeof_buf);
#ifdef __cplusplus
}
#endif