summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/settings.cpp13
-rw-r--r--src/common/settings.h11
2 files changed, 20 insertions, 4 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index bc2c8c7d7..84ac937e5 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -116,6 +116,11 @@ void UpdateRescalingInfo() {
info.down_shift = 1;
info.downscale = true;
break;
+ case ResolutionSetup::Res3_4X:
+ info.up_scale = 3;
+ info.down_shift = 2;
+ info.downscale = true;
+ break;
case ResolutionSetup::Res1X:
info.up_scale = 1;
info.down_shift = 0;
@@ -132,6 +137,14 @@ void UpdateRescalingInfo() {
info.up_scale = 4;
info.down_shift = 0;
break;
+ case ResolutionSetup::Res5X:
+ info.up_scale = 5;
+ info.down_shift = 0;
+ break;
+ case ResolutionSetup::Res6X:
+ info.up_scale = 6;
+ info.down_shift = 0;
+ break;
default:
UNREACHABLE();
info.up_scale = 1;
diff --git a/src/common/settings.h b/src/common/settings.h
index 84dab5217..f6acf5bdf 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -54,10 +54,13 @@ enum class NvdecEmulation : u32 {
enum class ResolutionSetup : u32 {
Res1_2X = 0,
- Res1X = 1,
- Res2X = 2,
- Res3X = 3,
- Res4X = 4,
+ Res3_4X = 1,
+ Res1X = 2,
+ Res2X = 3,
+ Res3X = 4,
+ Res4X = 5,
+ Res5X = 6,
+ Res6X = 7,
};
enum class ScalingFilter : u32 {