(menu_shader.c) Start using configuration_set_bool

This commit is contained in:
twinaphex 2017-04-23 13:39:35 +02:00
parent 59faeb510b
commit 268a173f44

View File

@ -259,7 +259,7 @@ void menu_shader_manager_set_preset(void *data,
if (!video_driver_set_shader((enum rarch_shader_type)type, preset_path))
{
settings->video.shader_enable = false;
configuration_set_bool(settings, settings->video.shader_enable, false);
return;
}
@ -268,7 +268,7 @@ void menu_shader_manager_set_preset(void *data,
strlcpy(settings->path.shader,
preset_path ? preset_path : "",
sizeof(settings->path.shader));
settings->video.shader_enable = true;
configuration_set_bool(settings, settings->video.shader_enable, true);
if (!preset_path || !shader)
return;