diff --git a/core_info.c b/core_info.c index b14ad1e0f9..a7b636d1c5 100644 --- a/core_info.c +++ b/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); -} diff --git a/core_info.h b/core_info.h index d86b5472d3..ec8deaafbe 100644 --- a/core_info.h +++ b/core_info.h @@ -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