1
0
mirror of https://github.com/libretro/RetroArch synced 2025-02-28 22:13:51 +00:00

Merge pull request from sonninnos/database-title

Reformat database titles
This commit is contained in:
LibretroAdmin 2022-06-17 18:32:37 +01:00 committed by GitHub
commit f24ced37e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -801,9 +801,12 @@ static int action_get_title_generic(char *s, size_t len,
string_list_deinitialize(&list_path);
if (!string_is_empty(elem0_path))
snprintf(s, len, "%s- %s",
{
path_remove_extension(elem0_path);
snprintf(s, len, "%s: %s",
text,
path_basename(elem0_path));
}
else
strlcpy(s, text, len);
return 0;