Settings: Fix incorrect type for Display/Scaling

This commit is contained in:
Stenzek 2023-11-05 02:33:42 +10:00
parent ca5b07acff
commit dde54fbba9
No known key found for this signature in database

View file

@ -468,7 +468,7 @@ void Settings::Save(SettingsInterface& si) const
si.SetBoolValue("Display", "Force4_3For24Bit", display_force_4_3_for_24bit); si.SetBoolValue("Display", "Force4_3For24Bit", display_force_4_3_for_24bit);
si.SetStringValue("Display", "AspectRatio", GetDisplayAspectRatioName(display_aspect_ratio)); si.SetStringValue("Display", "AspectRatio", GetDisplayAspectRatioName(display_aspect_ratio));
si.SetStringValue("Display", "Alignment", GetDisplayAlignmentName(display_alignment)); si.SetStringValue("Display", "Alignment", GetDisplayAlignmentName(display_alignment));
si.SetBoolValue("Display", "Scaling", GetDisplayScalingName(display_scaling)); si.SetStringValue("Display", "Scaling", GetDisplayScalingName(display_scaling));
si.SetIntValue("Display", "CustomAspectRatioNumerator", display_aspect_ratio_custom_numerator); si.SetIntValue("Display", "CustomAspectRatioNumerator", display_aspect_ratio_custom_numerator);
si.GetIntValue("Display", "CustomAspectRatioDenominator", display_aspect_ratio_custom_denominator); si.GetIntValue("Display", "CustomAspectRatioDenominator", display_aspect_ratio_custom_denominator);
si.SetBoolValue("Display", "ShowOSDMessages", display_show_osd_messages); si.SetBoolValue("Display", "ShowOSDMessages", display_show_osd_messages);