Merge pull request #1344 from heuripedes/save-auto-aspect

(settings) Save video_aspect_ratio_auto on shutdown
This commit is contained in:
Twinaphex 2015-01-16 16:09:29 +01:00
commit 5d156f6be9

View File

@ -1783,6 +1783,7 @@ bool config_save_file(const char *path)
config_set_bool(conf, "video_shader_enable",
g_settings.video.shader_enable);
config_set_float(conf, "video_aspect_ratio", g_settings.video.aspect_ratio);
config_set_bool(conf, "video_aspect_ratio_auto", g_settings.video.aspect_ratio_auto);
config_set_bool(conf, "video_windowed_fullscreen",
g_settings.video.windowed_fullscreen);
config_set_float(conf, "video_scale", g_settings.video.scale);