From 87df98661ffc1c90c07ac7edfc00d124ad071e45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Andr=C3=A9=20Santoni?= Date: Sat, 18 Oct 2014 16:26:02 +0200 Subject: [PATCH] (XMB) Display core icon --- frontend/menu/disp/xmb.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/menu/disp/xmb.c b/frontend/menu/disp/xmb.c index 6efb0d0e70..793882e7b1 100644 --- a/frontend/menu/disp/xmb.c +++ b/frontend/menu/disp/xmb.c @@ -63,6 +63,7 @@ enum XMB_TEXTURE_FILE, XMB_TEXTURE_FOLDER, XMB_TEXTURE_ZIP, + XMB_TEXTURE_CORE, XMB_TEXTURE_LAST }; @@ -513,6 +514,9 @@ static void xmb_frame(void) case MENU_FILE_CARCHIVE: icon = xmb->textures[XMB_TEXTURE_ZIP].id; break; + case MENU_FILE_CORE: + icon = xmb->textures[XMB_TEXTURE_CORE].id; + break; default: icon = xmb->textures[XMB_TEXTURE_SETTING].id; break; @@ -819,6 +823,8 @@ static void xmb_context_reset(void *data) "folder.png", sizeof(xmb->textures[XMB_TEXTURE_FOLDER].path)); fill_pathname_join(xmb->textures[XMB_TEXTURE_ZIP].path, iconpath, "zip.png", sizeof(xmb->textures[XMB_TEXTURE_ZIP].path)); + fill_pathname_join(xmb->textures[XMB_TEXTURE_CORE].path, iconpath, + "core.png", sizeof(xmb->textures[XMB_TEXTURE_CORE].path)); for (k = 0; k < XMB_TEXTURE_LAST; k++) xmb->textures[k].id = xmb_png_texture_load(xmb->textures[k].path);