mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
commit
91aa9d54b2
@ -100,6 +100,7 @@ enum
|
||||
XMB_TEXTURE_CHEAT_OPTIONS,
|
||||
XMB_TEXTURE_DISK_OPTIONS,
|
||||
XMB_TEXTURE_SHADER_OPTIONS,
|
||||
XMB_TEXTURE_ACHIEVEMENT_LIST,
|
||||
XMB_TEXTURE_SCREENSHOT,
|
||||
XMB_TEXTURE_RELOAD,
|
||||
XMB_TEXTURE_FILE,
|
||||
@ -1382,6 +1383,9 @@ static void xmb_draw_items(xmb_handle_t *xmb,
|
||||
case MENU_LABEL_SHADER_OPTIONS:
|
||||
icon = xmb->textures.list[XMB_TEXTURE_SHADER_OPTIONS].id;
|
||||
break;
|
||||
case MENU_LABEL_ACHIEVEMENT_LIST:
|
||||
icon = xmb->textures.list[XMB_TEXTURE_ACHIEVEMENT_LIST].id;
|
||||
break;
|
||||
case MENU_LABEL_SAVESTATE:
|
||||
icon = xmb->textures.list[XMB_TEXTURE_SAVESTATE].id;
|
||||
break;
|
||||
@ -2162,6 +2166,9 @@ static void xmb_context_reset_textures(xmb_handle_t *xmb, const char *iconpath)
|
||||
case XMB_TEXTURE_SHADER_OPTIONS:
|
||||
fill_pathname_join(path, iconpath, "core-shader-options.png", sizeof(path));
|
||||
break;
|
||||
case XMB_TEXTURE_ACHIEVEMENT_LIST:
|
||||
fill_pathname_join(path, iconpath, "achievement-list.png", sizeof(path));
|
||||
break;
|
||||
case XMB_TEXTURE_SCREENSHOT:
|
||||
fill_pathname_join(path, iconpath, "screenshot.png", sizeof(path));
|
||||
break;
|
||||
|
@ -1679,6 +1679,7 @@ static int menu_displaylist_parse_load_content_settings(menu_displaylist_info_t
|
||||
{
|
||||
menu_handle_t *menu = menu_driver_get_ptr();
|
||||
global_t *global = global_get_ptr();
|
||||
settings_t *settings = config_get_ptr();
|
||||
if (!menu)
|
||||
return -1;
|
||||
|
||||
@ -1745,10 +1746,11 @@ static int menu_displaylist_parse_load_content_settings(menu_displaylist_info_t
|
||||
MENU_SETTING_ACTION, 0, 0);
|
||||
#endif
|
||||
#ifdef HAVE_CHEEVOS
|
||||
menu_entries_push(info->list,
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_ACHIEVEMENT_LIST),
|
||||
menu_hash_to_str(MENU_LABEL_ACHIEVEMENT_LIST),
|
||||
MENU_SETTING_ACTION, 0, 0);
|
||||
if(settings->cheevos.enable)
|
||||
menu_entries_push(info->list,
|
||||
menu_hash_to_str(MENU_LABEL_VALUE_ACHIEVEMENT_LIST),
|
||||
menu_hash_to_str(MENU_LABEL_ACHIEVEMENT_LIST),
|
||||
MENU_SETTING_ACTION, 0, 0);
|
||||
#endif
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user