mirror of
https://github.com/libretro/RetroArch
synced 2025-01-17 19:14:56 +00:00
(menu_shader.c) Start using configuration_set_bool
This commit is contained in:
parent
59faeb510b
commit
268a173f44
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user