From dfd4baba6ae97e6922cbe776dea030750a8a2881 Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Thu, 13 Oct 2022 03:08:35 +0200 Subject: [PATCH] early-access version 3017 --- README.md | 2 +- src/core/frontend/framebuffer_layout.cpp | 2 ++ src/core/frontend/framebuffer_layout.h | 1 + src/yuzu/configuration/configure_graphics.ui | 5 +++++ 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 98d049195..30993da31 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 3015. +This is the source code for early-access 3017. ## Legal Notice diff --git a/src/core/frontend/framebuffer_layout.cpp b/src/core/frontend/framebuffer_layout.cpp index 90dd68ff1..b4081fc39 100755 --- a/src/core/frontend/framebuffer_layout.cpp +++ b/src/core/frontend/framebuffer_layout.cpp @@ -67,6 +67,8 @@ float EmulationAspectRatio(AspectRatio aspect, float window_aspect_ratio) { return 3.0f / 4.0f; case AspectRatio::R21_9: return 9.0f / 21.0f; + case AspectRatio::R16_10: + return 10.0f / 16.0f; case AspectRatio::StretchToWindow: return window_aspect_ratio; default: diff --git a/src/core/frontend/framebuffer_layout.h b/src/core/frontend/framebuffer_layout.h index 1561d994e..94683b30f 100755 --- a/src/core/frontend/framebuffer_layout.h +++ b/src/core/frontend/framebuffer_layout.h @@ -27,6 +27,7 @@ enum class AspectRatio { Default, R4_3, R21_9, + R16_10, StretchToWindow, }; diff --git a/src/yuzu/configuration/configure_graphics.ui b/src/yuzu/configuration/configure_graphics.ui index 1e4f74704..fdbb33372 100755 --- a/src/yuzu/configuration/configure_graphics.ui +++ b/src/yuzu/configuration/configure_graphics.ui @@ -299,6 +299,11 @@ Force 21:9 + + + Force 16:10 + + Stretch to Window