HostInterface: Save default setting to AspectRatio, not PixelAspectRatio

Fixes inconsistency with default settings saving to PixelAspectRatio,
but loading from AspectRatio instead. PixelAspectRatio was not being
used elsewhere.
This commit is contained in:
Albert Liu 2020-06-23 08:22:09 -07:00
parent 832c7a1192
commit 7c206766ae
2 changed files with 3 additions and 3 deletions

View File

@ -342,7 +342,7 @@ void HostInterface::SetDefaultSettings(SettingsInterface& si)
si.SetBoolValue("GPU", "ForceNTSCTimings", false); si.SetBoolValue("GPU", "ForceNTSCTimings", false);
si.SetStringValue("Display", "CropMode", "Overscan"); si.SetStringValue("Display", "CropMode", "Overscan");
si.SetStringValue("Display", "PixelAspectRatio", "4:3"); si.SetStringValue("Display", "AspectRatio", "4:3");
si.SetBoolValue("Display", "LinearFiltering", true); si.SetBoolValue("Display", "LinearFiltering", true);
si.SetBoolValue("Display", "IntegerScaling", false); si.SetBoolValue("Display", "IntegerScaling", false);
si.SetBoolValue("Display", "ShowOSDMessages", true); si.SetBoolValue("Display", "ShowOSDMessages", true);

View File

@ -232,8 +232,8 @@ static std::array<retro_core_option_definition, 14> s_option_definitions = {{
"hidden.", "hidden.",
{{"None", "None"}, {"Overscan", "Only Overscan Area"}, {"Borders", "All Borders"}}, {{"None", "None"}, {"Overscan", "Only Overscan Area"}, {"Borders", "All Borders"}},
"Overscan"}, "Overscan"},
{"Display.PixelAspectRatio", {"Display.AspectRatio",
"Pixel Aspect Ratio", "Aspect Ratio",
"Determines how the pixels in VRAM area are displayed on the screen.", "Determines how the pixels in VRAM area are displayed on the screen.",
{{"4:3", "4:3"}, {"16:9", "16:9"}, {"1:1", "1:1"}}, {{"4:3", "4:3"}, {"16:9", "16:9"}, {"1:1", "1:1"}},
"4:3"}, "4:3"},