mirror of
https://github.com/libretro/RetroArch
synced 2025-01-27 21:35:25 +00:00
Use fill_pathname_base_noext
This commit is contained in:
parent
7647c9be59
commit
b593e73896
@ -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, '_');
|
||||
|
Loading…
x
Reference in New Issue
Block a user