VERY experimental Nintendo Switch 2 emulator
C++
yuzu: Add 16:10 aspect ratio
Narr the Reg70825554ecbb
diff --git a/src/core/frontend/framebuffer_layout.cpp b/src/core/frontend/framebuffer_layout.cppindex 90dd68ff15..b4081fc394 100644--- 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.hindex 1561d994ef..94683b30f2 100644--- 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.uiindex 1e4f74704b..fdbb333725 100644--- a/src/yuzu/configuration/configure_graphics.ui+++ b/src/yuzu/configuration/configure_graphics.ui@@ -299,6 +299,11 @@<string>Force 21:9</string></property></item>+ <item>+ <property name="text">+ <string>Force 16:10</string>+ </property>+ </item><item><property name="text"><string>Stretch to Window</string>