Use fill_pathname_base_noext

This commit is contained in:
twinaphex 2016-06-28 13:10:34 +02:00
parent 7647c9be59
commit b593e73896

View File

@ -169,9 +169,8 @@ static config_file_t *core_info_list_iterate(
if (!contents->elems[i].data)
return NULL;
fill_pathname_base(info_path_base, contents->elems[i].data,
fill_pathname_base_noext(info_path_base, contents->elems[i].data,
sizeof(info_path_base));
path_remove_extension(info_path_base);
#if defined(RARCH_MOBILE) || (defined(RARCH_CONSOLE) && !defined(PSP))
char *substr = strrchr(info_path_base, '_');