mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +00:00
Save video_shader_dir.
This commit is contained in:
parent
21369d224a
commit
062cdaefc1
@ -616,6 +616,8 @@ bool config_load_file(const char *path)
|
||||
#endif
|
||||
|
||||
CONFIG_GET_PATH(video.shader_dir, "video_shader_dir");
|
||||
if (!strcmp(g_settings.video.shader_dir, "default"))
|
||||
*g_settings.video.shader_dir = '\0';
|
||||
|
||||
CONFIG_GET_FLOAT(input.axis_threshold, "input_axis_threshold");
|
||||
CONFIG_GET_BOOL(input.netplay_client_swap_input, "netplay_client_swap_input");
|
||||
@ -992,6 +994,11 @@ bool config_save_file(const char *path)
|
||||
else
|
||||
config_set_string(conf, "savestate_directory", "default");
|
||||
|
||||
if (*g_settings.video.shader_dir)
|
||||
config_set_string(conf, "video_shader_dir", g_settings.video.shader_dir);
|
||||
else
|
||||
config_set_string(conf, "video_shader_dir", "default");
|
||||
|
||||
#if defined(HAVE_RGUI) || defined(HAVE_RMENU)
|
||||
if (*g_settings.rgui_browser_directory)
|
||||
config_set_string(conf, "rgui_browser_directory", g_settings.rgui_browser_directory);
|
||||
|
Loading…
x
Reference in New Issue
Block a user