From 0789e9f394be06d61cb6821a7e7fd3641997020c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Andr=C3=A9=20Santoni?= Date: Tue, 24 Nov 2015 05:21:29 +0700 Subject: [PATCH] (XMB) Load boxarts from subfolders named after the system name in no-intro. Start following the convention of no-intro-screenshot-reloaded to get title screenshots, or in game screenshots, and we will add boxarts by ourselves later. --- menu/drivers/xmb.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 78831c4911..e94c4dcfc8 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -534,7 +534,12 @@ static void xmb_update_boxart_path(xmb_handle_t *xmb, unsigned i) menu_entry_get(&entry, 0, i, NULL, true); fill_pathname_join(xmb->boxart_file_path, settings->boxarts_directory, + xmb->title_name, sizeof(xmb->boxart_file_path)); + fill_pathname_join(xmb->boxart_file_path, xmb->boxart_file_path, + "Named_Snaps", sizeof(xmb->boxart_file_path)); + fill_pathname_join(xmb->boxart_file_path, xmb->boxart_file_path, entry.path, sizeof(xmb->boxart_file_path)); + strlcat(xmb->boxart_file_path, ".png", sizeof(xmb->boxart_file_path)); }