From 30b3760959489a703157539a7fcaf8b4cf8f18cd Mon Sep 17 00:00:00 2001 From: LibretroAdmin Date: Tue, 31 Dec 2024 05:40:30 +0100 Subject: [PATCH] (menu_explore.c) Don't use fill_pathname here, go back to old code --- menu/menu_explore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/menu/menu_explore.c b/menu/menu_explore.c index a7e0554824..a9dadf7c48 100644 --- a/menu/menu_explore.c +++ b/menu/menu_explore.c @@ -426,10 +426,10 @@ static void explore_load_icons(explore_state_t *state) { struct texture_image ti; size_t __len = _len; - __len += fill_pathname(path + _len, + __len += strlcpy(path + _len, state->by[EXPLORE_BY_SYSTEM][i]->str, - ".png", sizeof(path) - _len); + strlcpy(path + __len, ".png", sizeof(path) - __len); if (!path_is_valid(path)) continue;