From 3ba53f2511b2089656f7a16b6d6d8f7ef54e3a8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mat=C3=ADas=20Locatti?= Date: Fri, 13 Jan 2023 02:34:24 -0300 Subject: 1.5X resolution scaler option --- src/common/settings.cpp | 4 ++++ src/common/settings.h | 11 ++++++----- 2 files changed, 10 insertions(+), 5 deletions(-) (limited to 'src/common') diff --git a/src/common/settings.cpp b/src/common/settings.cpp index 1638b79f5..6a5569fe0 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp @@ -129,6 +129,10 @@ void UpdateRescalingInfo() { info.up_scale = 1; info.down_shift = 0; break; + case ResolutionSetup::Res3_2X: + info.up_scale = 3; + info.down_shift = 1; + break; case ResolutionSetup::Res2X: info.up_scale = 2; info.down_shift = 0; diff --git a/src/common/settings.h b/src/common/settings.h index a457e3f23..d31784cfc 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -56,11 +56,12 @@ enum class ResolutionSetup : u32 { Res1_2X = 0, Res3_4X = 1, Res1X = 2, - Res2X = 3, - Res3X = 4, - Res4X = 5, - Res5X = 6, - Res6X = 7, + Res3_2X = 3, + Res2X = 4, + Res3X = 5, + Res4X = 6, + Res5X = 7, + Res6X = 8, }; enum class ScalingFilter : u32 { -- cgit v1.2.3