summaryrefslogtreecommitdiff
path: root/src/yuzu/uisettings.cpp
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-08-16 16:12:42 -0400
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-08-16 16:12:42 -0400
commit6fe51b48e960e81b1304d833b2d69b468a4a238a (patch)
treee5fdd254cdb61e3953edefad1f399c1e4882d15e /src/yuzu/uisettings.cpp
parent96c98d09cb9200c9b623404381c33b3379411eeb (diff)
yuzu-qt: Screenshots depend more on the graphics settings
Diffstat (limited to 'src/yuzu/uisettings.cpp')
-rw-r--r--src/yuzu/uisettings.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/yuzu/uisettings.cpp b/src/yuzu/uisettings.cpp
index 606268a5f..78f927ba9 100644
--- a/src/yuzu/uisettings.cpp
+++ b/src/yuzu/uisettings.cpp
@@ -51,22 +51,4 @@ u32 CalculateWidth(u32 height, Settings::AspectRatio ratio) {
return height * 16 / 9;
}
-Settings::AspectRatio ConvertScreenshotRatioToRatio(Settings::ScreenshotAspectRatio ratio) {
- switch (ratio) {
- case Settings::ScreenshotAspectRatio::Auto:
- return Settings::values.aspect_ratio.GetValue();
- case Settings::ScreenshotAspectRatio::R16_9:
- return Settings::AspectRatio::R16_9;
- case Settings::ScreenshotAspectRatio::R4_3:
- return Settings::AspectRatio::R4_3;
- case Settings::ScreenshotAspectRatio::R21_9:
- return Settings::AspectRatio::R21_9;
- case Settings::ScreenshotAspectRatio::R16_10:
- return Settings::AspectRatio::R16_10;
- case Settings::ScreenshotAspectRatio::Unspecified:
- break;
- }
- return Settings::AspectRatio::R16_9;
-}
-
} // namespace UISettings