diff --git a/src/core/host_interface.cpp b/src/core/host_interface.cpp index 8ab19fd40..28edec025 100644 --- a/src/core/host_interface.cpp +++ b/src/core/host_interface.cpp @@ -342,7 +342,7 @@ void HostInterface::SetDefaultSettings(SettingsInterface& si) si.SetBoolValue("GPU", "ForceNTSCTimings", false); 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", "IntegerScaling", false); si.SetBoolValue("Display", "ShowOSDMessages", true); diff --git a/src/duckstation-libretro/libretro_host_interface.cpp b/src/duckstation-libretro/libretro_host_interface.cpp index a258fd72d..414ed091f 100644 --- a/src/duckstation-libretro/libretro_host_interface.cpp +++ b/src/duckstation-libretro/libretro_host_interface.cpp @@ -29,7 +29,6 @@ Log_SetChannel(LibretroHostInterface); // - Expose the rest of the options // - Memory card and controller settings // - Better paths for memory cards/BIOS -// - Fix up aspect ratio ////////////////////////////////////////////////////////////////////////// LibretroHostInterface g_libretro_host_interface; @@ -81,7 +80,7 @@ void LibretroHostInterface::retro_get_system_av_info(struct retro_system_av_info std::memset(info, 0, sizeof(*info)); - info->geometry.aspect_ratio = 4.0f / 3.0f; + info->geometry.aspect_ratio = Settings::GetDisplayAspectRatioValue(m_settings.display_aspect_ratio); if (!m_system->IsPALRegion()) { @@ -232,9 +231,9 @@ static std::array s_option_definitions = {{ "hidden.", {{"None", "None"}, {"Overscan", "Only Overscan Area"}, {"Borders", "All Borders"}}, "Overscan"}, - {"Display.PixelAspectRatio", - "Pixel Aspect Ratio", - "Determines how the pixels in VRAM area are displayed on the screen.", + {"Display.AspectRatio", + "Aspect Ratio", + "Sets the core-provided aspect ratio.", {{"4:3", "4:3"}, {"16:9", "16:9"}, {"1:1", "1:1"}}, "4:3"}, {},