mirror of
https://github.com/libretro/RetroArch
synced 2025-01-29 18:32:44 +00:00
Remove core_info_get_first_custom_config - no longer used
This commit is contained in:
parent
dbfc08b2c0
commit
df24bf204c
16
core_info.c
16
core_info.c
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user