mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 10:49:02 +00:00
(XMB) Support the shader-options icon
This commit is contained in:
parent
f698a0923b
commit
5c319e14bf
@ -76,6 +76,7 @@ enum
|
||||
XMB_TEXTURE_INPUT_REMAPPING_OPTIONS,
|
||||
XMB_TEXTURE_CHEAT_OPTIONS,
|
||||
XMB_TEXTURE_DISK_OPTIONS,
|
||||
XMB_TEXTURE_SHADER_OPTIONS,
|
||||
XMB_TEXTURE_SCREENSHOT,
|
||||
XMB_TEXTURE_RELOAD,
|
||||
XMB_TEXTURE_FILE,
|
||||
@ -1108,6 +1109,8 @@ static GLuint xmb_icon_get_id(xmb_handle_t *xmb,
|
||||
return xmb->textures.list[XMB_TEXTURE_CHEAT_OPTIONS].id;
|
||||
case MENU_SETTING_ACTION_CORE_DISK_OPTIONS:
|
||||
return xmb->textures.list[XMB_TEXTURE_DISK_OPTIONS].id;
|
||||
case MENU_SETTING_ACTION_CORE_SHADER_OPTIONS:
|
||||
return xmb->textures.list[XMB_TEXTURE_SHADER_OPTIONS].id;
|
||||
case MENU_SETTING_ACTION_SCREENSHOT:
|
||||
return xmb->textures.list[XMB_TEXTURE_SCREENSHOT].id;
|
||||
case MENU_SETTING_ACTION_RESET:
|
||||
@ -1223,6 +1226,9 @@ static void xmb_draw_items(xmb_handle_t *xmb, gl_t *gl,
|
||||
case MENU_LABEL_DISK_OPTIONS:
|
||||
icon = xmb->textures.list[XMB_TEXTURE_DISK_OPTIONS].id;
|
||||
break;
|
||||
case MENU_LABEL_SHADER_OPTIONS:
|
||||
icon = xmb->textures.list[XMB_TEXTURE_SHADER_OPTIONS].id;
|
||||
break;
|
||||
case MENU_LABEL_SAVESTATE:
|
||||
icon = xmb->textures.list[XMB_TEXTURE_SAVESTATE].id;
|
||||
break;
|
||||
@ -2007,6 +2013,9 @@ static void xmb_context_reset_textures(xmb_handle_t *xmb, const char *iconpath)
|
||||
case XMB_TEXTURE_DISK_OPTIONS:
|
||||
fill_pathname_join(path, iconpath, "core-disk-options.png", sizeof(path));
|
||||
break;
|
||||
case XMB_TEXTURE_SHADER_OPTIONS:
|
||||
fill_pathname_join(path, iconpath, "core-shader-options.png", sizeof(path));
|
||||
break;
|
||||
case XMB_TEXTURE_SCREENSHOT:
|
||||
fill_pathname_join(path, iconpath, "screenshot.png", sizeof(path));
|
||||
break;
|
||||
|
@ -101,6 +101,7 @@ typedef enum
|
||||
MENU_SETTING_ACTION_CORE_CHEAT_OPTIONS,
|
||||
MENU_SETTING_ACTION_CORE_INFORMATION,
|
||||
MENU_SETTING_ACTION_CORE_DISK_OPTIONS,
|
||||
MENU_SETTING_ACTION_CORE_SHADER_OPTIONS,
|
||||
MENU_SETTING_ACTION_SAVESTATE,
|
||||
MENU_SETTING_ACTION_LOADSTATE,
|
||||
MENU_SETTING_ACTION_SCREENSHOT,
|
||||
|
Loading…
Reference in New Issue
Block a user