mirror of
https://github.com/libretro/RetroArch
synced 2025-02-10 21:40:22 +00:00
(menu_explore.c) Don't use fill_pathname here, go back to old code
This commit is contained in:
parent
94dce4001e
commit
30b3760959
@ -426,10 +426,10 @@ static void explore_load_icons(explore_state_t *state)
|
|||||||
{
|
{
|
||||||
struct texture_image ti;
|
struct texture_image ti;
|
||||||
size_t __len = _len;
|
size_t __len = _len;
|
||||||
__len += fill_pathname(path + _len,
|
__len += strlcpy(path + _len,
|
||||||
state->by[EXPLORE_BY_SYSTEM][i]->str,
|
state->by[EXPLORE_BY_SYSTEM][i]->str,
|
||||||
".png",
|
|
||||||
sizeof(path) - _len);
|
sizeof(path) - _len);
|
||||||
|
strlcpy(path + __len, ".png", sizeof(path) - __len);
|
||||||
if (!path_is_valid(path))
|
if (!path_is_valid(path))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user