mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-24 12:15:08 +00:00
(XMB) Display appropriate icons for actions
This commit is contained in:
parent
c0d80a4e25
commit
eeee8e74a4
@ -819,6 +819,21 @@ static void xmb_draw_items(file_list_t *list, file_list_t *stack,
|
||||
case MENU_FILE_CORE:
|
||||
icon = xmb->textures[XMB_TEXTURE_CORE].id;
|
||||
break;
|
||||
case MENU_SETTING_ACTION_RUN:
|
||||
icon = xmb->textures[XMB_TEXTURE_RUN].id;
|
||||
break;
|
||||
case MENU_SETTING_ACTION_SAVESTATE:
|
||||
icon = xmb->textures[XMB_TEXTURE_SAVESTATE].id;
|
||||
break;
|
||||
case MENU_SETTING_ACTION_LOADSTATE:
|
||||
icon = xmb->textures[XMB_TEXTURE_LOADSTATE].id;
|
||||
break;
|
||||
case MENU_SETTING_ACTION_SCREENSHOT:
|
||||
icon = xmb->textures[XMB_TEXTURE_SCREENSHOT].id;
|
||||
break;
|
||||
case MENU_SETTING_ACTION_RESET:
|
||||
icon = xmb->textures[XMB_TEXTURE_RELOAD].id;
|
||||
break;
|
||||
default:
|
||||
icon = xmb->textures[XMB_TEXTURE_SETTING].id;
|
||||
break;
|
||||
|
@ -218,7 +218,12 @@ int entries_push_horizontal_menu_list(menu_handle_t *menu,
|
||||
if (!info->supports_no_game)
|
||||
content_list_push(list, info, g_settings.content_directory);
|
||||
else
|
||||
menu_list_push(list, info->display_name, "", MENU_FILE_CONTENTLIST_ENTRY, 0);
|
||||
menu_list_push(
|
||||
list,
|
||||
info->display_name,
|
||||
"content_actions",
|
||||
MENU_FILE_CONTENTLIST_ENTRY,
|
||||
0);
|
||||
|
||||
driver.menu->scroll_indices_size = 0;
|
||||
menu_entries_build_scroll_indices(list);
|
||||
|
Loading…
x
Reference in New Issue
Block a user