From 75421c5efa6a48b7ae2046eb97416637ddbbd802 Mon Sep 17 00:00:00 2001 From: Themaister Date: Fri, 7 Jun 2013 14:38:37 +0200 Subject: [PATCH] Save refresh rate on exit. --- settings.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/settings.c b/settings.c index 6edfa94231..f21ed60188 100644 --- a/settings.c +++ b/settings.c @@ -963,10 +963,7 @@ bool config_save_file(const char *path) config_set_float(conf, "video_aspect_ratio", g_settings.video.aspect_ratio); config_set_bool(conf, "video_scale_integer", g_settings.video.scale_integer); config_set_bool(conf, "video_smooth", g_settings.video.smooth); - - // TODO: Enable when rest of code is set up for this. - //config_set_float(conf, "video_refresh_rate", g_settings.video.refresh_rate); - + config_set_float(conf, "video_refresh_rate", g_settings.video.refresh_rate); config_set_bool(conf, "video_vsync", g_settings.video.vsync); config_set_bool(conf, "video_hard_sync", g_settings.video.hard_sync); config_set_int(conf, "video_hard_sync_frames", g_settings.video.hard_sync_frames);