1
0
mirror of https://github.com/libretro/RetroArch synced 2025-03-03 13:14:04 +00:00

(Menu) Refactor MENU_SETTINGS_TOGGLE_FULLSCREEN`

This commit is contained in:
twinaphex 2014-07-17 22:02:03 +02:00
parent cecdee7f54
commit 63a2f5b885

@ -4471,14 +4471,7 @@ static int menu_common_setting_set(unsigned setting, unsigned action)
case MENU_SETTINGS_TOGGLE_FULLSCREEN:
if ((current_setting = setting_data_find_setting(setting_data, "video_fullscreen")))
{
if (action == MENU_ACTION_OK)
{
*current_setting->value.boolean = !(*current_setting->value.boolean);
if (current_setting->change_handler)
current_setting->change_handler(current_setting);
}
}
menu_common_setting_set_current_boolean(current_setting, action);
break;
#if defined(GEKKO)