Color back monochrome and automatic to the original color f2f2f2

This commit is contained in:
alfrix 2019-01-25 20:14:51 -03:00
parent 69e7a2dff2
commit 9d52729e70

View File

@ -4986,8 +4986,27 @@ static void xmb_context_reset_textures(
(settings->uints.menu_xmb_theme == XMB_ICON_THEME_AUTOMATIC_INVERTED)
)
memcpy(item_color, coord_black, sizeof(item_color));
else
{
if (
(settings->uints.menu_xmb_theme == XMB_ICON_THEME_MONOCHROME) ||
(settings->uints.menu_xmb_theme == XMB_ICON_THEME_AUTOMATIC)
)
{
for (i=0;i<16;i++)
{
if ((i==3) || (i==7) || (i==11) || (i==15))
{
item_color[i] = 1;
continue;
}
item_color[i] = 0.95;
}
}
else
memcpy(item_color, coord_white, sizeof(item_color));
}
return;