mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 11:18:25 +00:00
(Menu) Fix core option ON/OFF buttons
This commit is contained in:
parent
63eafbcac2
commit
1cccfa09fb
@ -755,24 +755,6 @@ static void mui_render_label_value(mui_handle_t *mui, mui_node_t *node,
|
||||
case FILE_TYPE_IMAGE:
|
||||
case FILE_TYPE_MOVIE:
|
||||
break;
|
||||
case FILE_TYPE_BOOL_ON:
|
||||
if (mui->textures.list[MUI_TEXTURE_SWITCH_ON])
|
||||
{
|
||||
texture_switch = mui->textures.list[MUI_TEXTURE_SWITCH_ON];
|
||||
switch_is_on = true;
|
||||
}
|
||||
else
|
||||
do_draw_text = true;
|
||||
break;
|
||||
case FILE_TYPE_BOOL_OFF:
|
||||
if (mui->textures.list[MUI_TEXTURE_SWITCH_OFF])
|
||||
{
|
||||
texture_switch = mui->textures.list[MUI_TEXTURE_SWITCH_OFF];
|
||||
switch_is_on = false;
|
||||
}
|
||||
else
|
||||
do_draw_text = true;
|
||||
break;
|
||||
default:
|
||||
do_draw_text = true;
|
||||
break;
|
||||
|
@ -2203,18 +2203,6 @@ static void xmb_draw_items(
|
||||
case FILE_TYPE_IMAGE:
|
||||
case FILE_TYPE_MOVIE:
|
||||
break;
|
||||
case FILE_TYPE_BOOL_ON:
|
||||
if (xmb->textures.list[XMB_TEXTURE_SWITCH_ON])
|
||||
texture_switch = xmb->textures.list[XMB_TEXTURE_SWITCH_ON];
|
||||
else
|
||||
do_draw_text = true;
|
||||
break;
|
||||
case FILE_TYPE_BOOL_OFF:
|
||||
if (xmb->textures.list[XMB_TEXTURE_SWITCH_OFF])
|
||||
texture_switch = xmb->textures.list[XMB_TEXTURE_SWITCH_OFF];
|
||||
else
|
||||
do_draw_text = true;
|
||||
break;
|
||||
default:
|
||||
do_draw_text = true;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user