mirror of
https://github.com/libretro/RetroArch
synced 2025-03-22 16:20:58 +00:00
(HAVE_FILTERS_BUILTIN) Save filter_index to config file now
This commit is contained in:
parent
a1cd11cdbf
commit
8b52487408
@ -799,6 +799,9 @@ bool config_load_file(const char *path, bool set_defaults)
|
||||
CONFIG_GET_FLOAT(video.msg_pos_y, "video_message_pos_y");
|
||||
CONFIG_GET_INT(video.rotation, "video_rotation");
|
||||
|
||||
#ifdef HAVE_FILTERS_BUILTIN
|
||||
CONFIG_GET_INT(video.filter_idx, "filter_index");
|
||||
#endif
|
||||
#ifdef RARCH_CONSOLE
|
||||
/* TODO - will be refactored later to make it more clean - it's more
|
||||
* important that it works for consoles right now */
|
||||
@ -1271,6 +1274,9 @@ bool config_save_file(const char *path)
|
||||
config_set_path(conf, "libretro_info_path", g_settings.libretro_info_path);
|
||||
config_set_path(conf, "cheat_database_path", g_settings.cheat_database);
|
||||
config_set_bool(conf, "rewind_enable", g_settings.rewind_enable);
|
||||
#ifdef HAVE_FILTERS_BUILTIN
|
||||
config_set_int(conf, "filter_index", g_settings.video.filter_idx);
|
||||
#endif
|
||||
config_set_int(conf, "rewind_granularity", g_settings.rewind_granularity);
|
||||
config_set_path(conf, "video_shader", g_settings.video.shader_path);
|
||||
config_set_bool(conf, "video_shader_enable", g_settings.video.shader_enable);
|
||||
|
Loading…
x
Reference in New Issue
Block a user