mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 03:10:14 +00:00
Merge pull request #2880 from lakkatv/master
(XMB) Fix some icons in the quick menu
This commit is contained in:
commit
ec19f27971
@ -1432,7 +1432,31 @@ static uintptr_t xmb_icon_get_id(xmb_handle_t *xmb,
|
||||
xmb_node_t *core_node, xmb_node_t *node,
|
||||
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)
|
||||
{
|
||||
@ -1494,9 +1518,7 @@ static uintptr_t xmb_icon_get_id(xmb_handle_t *xmb,
|
||||
return xmb->textures.list[XMB_TEXTURE_CORE_INFO];
|
||||
}
|
||||
|
||||
id = xmb->textures.list[XMB_TEXTURE_SUBSETTING];
|
||||
|
||||
return id;
|
||||
return xmb->textures.list[XMB_TEXTURE_SUBSETTING];
|
||||
}
|
||||
|
||||
static void xmb_draw_items(xmb_handle_t *xmb,
|
||||
|
Loading…
Reference in New Issue
Block a user