mirror of
https://github.com/libretro/RetroArch
synced 2025-04-01 04:20:27 +00:00
(XMB) Should now look for dynamic wallpapers without the 'lbl' extension
This commit is contained in:
parent
f978a3088c
commit
500909cf9f
@ -727,12 +727,11 @@ static void xmb_list_switch_new(xmb_handle_t *xmb,
|
|||||||
if (settings->menu.dynamic_wallpaper_enable)
|
if (settings->menu.dynamic_wallpaper_enable)
|
||||||
{
|
{
|
||||||
char path[PATH_MAX_LENGTH];
|
char path[PATH_MAX_LENGTH];
|
||||||
|
|
||||||
char *tmp = string_replace_substring(xmb->title_name, "/", " ");
|
char *tmp = string_replace_substring(xmb->title_name, "/", " ");
|
||||||
|
|
||||||
if (tmp)
|
if (tmp)
|
||||||
{
|
{
|
||||||
fill_pathname_join(path, settings->dynamic_wallpapers_directory, tmp, sizeof(path));
|
fill_pathname_noext(path, settings->dynamic_wallpapers_directory, tmp, sizeof(path));
|
||||||
free(tmp);
|
free(tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user