mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 11:43:00 +00:00
(xmb.c) use fill_pathname_join_delim
This commit is contained in:
parent
55a9ad68a3
commit
d4a3d90fff
@ -25,6 +25,7 @@
|
||||
enum file_path_enum
|
||||
{
|
||||
FILE_PATH_UNKNOWN = 0,
|
||||
FILE_PATH_CONTENT_BASENAME,
|
||||
FILE_PATH_PROGRAM_NAME,
|
||||
FILE_PATH_DETECT,
|
||||
FILE_PATH_NUL,
|
||||
|
@ -27,6 +27,8 @@ const char *file_path_str(enum file_path_enum enum_idx)
|
||||
#endif
|
||||
case FILE_PATH_DETECT:
|
||||
return "DETECT";
|
||||
case FILE_PATH_CONTENT_BASENAME:
|
||||
return "content.png";
|
||||
case FILE_PATH_LUTRO_PLAYLIST:
|
||||
return "Lutro.lpl";
|
||||
case FILE_PATH_NUL:
|
||||
|
@ -1379,9 +1379,9 @@ static void xmb_context_reset_horizontal_list(
|
||||
image_texture_free(&ti);
|
||||
}
|
||||
|
||||
fill_pathname_join_concat(content_texturepath, iconpath,
|
||||
sysname,
|
||||
"-content.png",
|
||||
strlcat(iconpath, sysname, sizeof(iconpath));
|
||||
fill_pathname_join_delim(content_texturepath, iconpath,
|
||||
file_path_str(FILE_PATH_CONTENT_BASENAME), '-',
|
||||
sizeof(content_texturepath));
|
||||
|
||||
if (image_texture_load(&ti, content_texturepath))
|
||||
|
Loading…
x
Reference in New Issue
Block a user