(menu_explore.c) Don't use fill_pathname here, go back to old code

This commit is contained in:
LibretroAdmin 2024-12-31 05:40:30 +01:00
parent 94dce4001e
commit 30b3760959

View File

@ -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;