diff --git a/settings.c b/settings.c index a0a9e8393d..1085e4cb61 100644 --- a/settings.c +++ b/settings.c @@ -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);