From 70a57fa80e28ea2d11e87b001661e80b9d96551c Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 8 Jan 2016 09:33:53 +0100 Subject: [PATCH] (XMB) Check if path contains '.lpl' first --- menu/drivers/xmb.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 7283a3033a..ea03ab022f 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -1067,6 +1067,9 @@ static void xmb_context_reset_horizontal_list(xmb_handle_t *xmb, const char *the if (!path) continue; + if (!strstr(path, ".lpl")) + continue; + strlcpy(sysname, path, sizeof(sysname)); path_remove_extension(sysname);