(XMB) Fix some icons in the quick menu
This commit is contained in:
parent
8de7fa63ae
commit
01dcf48c5b
|
@ -1432,7 +1432,31 @@ static uintptr_t xmb_icon_get_id(xmb_handle_t *xmb,
|
||||||
xmb_node_t *core_node, xmb_node_t *node,
|
xmb_node_t *core_node, xmb_node_t *node,
|
||||||
uint32_t hash, unsigned type, bool active)
|
uint32_t hash, unsigned type, bool active)
|
||||||
{
|
{
|
||||||
uintptr_t id = 0;
|
switch (hash)
|
||||||
|
{
|
||||||
|
case MENU_LABEL_CORE_OPTIONS:
|
||||||
|
return xmb->textures.list[XMB_TEXTURE_CORE_OPTIONS];
|
||||||
|
case MENU_LABEL_CORE_INPUT_REMAPPING_OPTIONS:
|
||||||
|
return xmb->textures.list[XMB_TEXTURE_INPUT_REMAPPING_OPTIONS];
|
||||||
|
case MENU_LABEL_CORE_CHEAT_OPTIONS:
|
||||||
|
return xmb->textures.list[XMB_TEXTURE_CHEAT_OPTIONS];
|
||||||
|
case MENU_LABEL_DISK_OPTIONS:
|
||||||
|
return xmb->textures.list[XMB_TEXTURE_DISK_OPTIONS];
|
||||||
|
case MENU_LABEL_SHADER_OPTIONS:
|
||||||
|
return xmb->textures.list[XMB_TEXTURE_SHADER_OPTIONS];
|
||||||
|
case MENU_LABEL_ACHIEVEMENT_LIST:
|
||||||
|
return xmb->textures.list[XMB_TEXTURE_ACHIEVEMENT_LIST];
|
||||||
|
case MENU_LABEL_SAVESTATE:
|
||||||
|
return xmb->textures.list[XMB_TEXTURE_SAVESTATE];
|
||||||
|
case MENU_LABEL_LOADSTATE:
|
||||||
|
return xmb->textures.list[XMB_TEXTURE_LOADSTATE];
|
||||||
|
case MENU_LABEL_TAKE_SCREENSHOT:
|
||||||
|
return xmb->textures.list[XMB_TEXTURE_SCREENSHOT];
|
||||||
|
case MENU_LABEL_RESTART_CONTENT:
|
||||||
|
return xmb->textures.list[XMB_TEXTURE_RELOAD];
|
||||||
|
case MENU_LABEL_RESUME_CONTENT:
|
||||||
|
return xmb->textures.list[XMB_TEXTURE_RESUME];
|
||||||
|
}
|
||||||
|
|
||||||
switch(type)
|
switch(type)
|
||||||
{
|
{
|
||||||
|
@ -1494,9 +1518,7 @@ static uintptr_t xmb_icon_get_id(xmb_handle_t *xmb,
|
||||||
return xmb->textures.list[XMB_TEXTURE_CORE_INFO];
|
return xmb->textures.list[XMB_TEXTURE_CORE_INFO];
|
||||||
}
|
}
|
||||||
|
|
||||||
id = xmb->textures.list[XMB_TEXTURE_SUBSETTING];
|
return xmb->textures.list[XMB_TEXTURE_SUBSETTING];
|
||||||
|
|
||||||
return id;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void xmb_draw_items(xmb_handle_t *xmb,
|
static void xmb_draw_items(xmb_handle_t *xmb,
|
||||||
|
|
Loading…
Reference in New Issue