mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
(Android) Fix pretty names in Core Updater
This commit is contained in:
parent
9b1f6152fd
commit
2654f81cf6
@ -82,11 +82,19 @@ static void print_buf_lines(file_list_t *list, char *buf, int buf_size,
|
|||||||
|
|
||||||
if (settings)
|
if (settings)
|
||||||
{
|
{
|
||||||
|
char *last = NULL;
|
||||||
fill_pathname_join(core_path, settings->libretro_info_path,
|
fill_pathname_join(core_path, settings->libretro_info_path,
|
||||||
line_start, sizeof(core_path));
|
line_start, sizeof(core_path));
|
||||||
|
|
||||||
|
(void)last;
|
||||||
|
|
||||||
path_remove_extension(core_path);
|
path_remove_extension(core_path);
|
||||||
path_remove_extension(core_path);
|
path_remove_extension(core_path);
|
||||||
|
#ifdef ANDROID
|
||||||
|
last = (char*)strrchr(core_path, '_');
|
||||||
|
if (*last)
|
||||||
|
*last = '\0';
|
||||||
|
#endif
|
||||||
strlcat(core_path, ".info", sizeof(core_path));
|
strlcat(core_path, ".info", sizeof(core_path));
|
||||||
|
|
||||||
if (core_info_get_display_name(
|
if (core_info_get_display_name(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user