aboutsummaryrefslogtreecommitdiff
path: root/src/common/settings.cpp
diff options
context:
space:
mode:
authorswurl <swurl@swurl.xyz>2025-05-31 02:16:36 +0000
committercrueter <crueter@noreply.localhost>2025-05-31 02:16:36 +0000
commitaaeaa884ebd19eae75528650699b1fcaf31ad99e (patch)
tree28c8acaa93cc30fb45d241153b8831d33ca683ac /src/common/settings.cpp
parent568ac9f7de1dc273d9a3b55fbdf8e2df6d4ff275 (diff)
yall got any of them pixels (#140)
Adds 0.25x resolution option and fixes the configure hotkeys Signed-off-by: swurl <swurl@swurl.xyz> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/140 Co-authored-by: swurl <swurl@swurl.xyz> Co-committed-by: swurl <swurl@swurl.xyz>
Diffstat (limited to 'src/common/settings.cpp')
-rw-r--r--src/common/settings.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index cb6431d536..53065c083c 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -260,6 +260,11 @@ const char* TranslateCategory(Category category) {
void TranslateResolutionInfo(ResolutionSetup setup, ResolutionScalingInfo& info) {
info.downscale = false;
switch (setup) {
+ case ResolutionSetup::Res1_4X:
+ info.up_scale = 1;
+ info.down_shift = 2;
+ info.downscale = true;
+ break;
case ResolutionSetup::Res1_2X:
info.up_scale = 1;
info.down_shift = 1;