aboutsummaryrefslogtreecommitdiff
path: root/src/core/frontend/framebuffer_layout.cpp
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2022-10-10 13:32:09 -0500
committerNarr the Reg <juangerman-13@hotmail.com>2022-10-10 13:32:33 -0500
commiteb74ef474b6ff98db2b39b5fee43d51f404dbca4 (patch)
tree5377443b1b6af48359edd6243470d6ce56f81ec9 /src/core/frontend/framebuffer_layout.cpp
parent3a5f9409c897f12e69cfc1d395e743b4850330ec (diff)
yuzu: Add 16:10 aspect ratio
Diffstat (limited to 'src/core/frontend/framebuffer_layout.cpp')
-rw-r--r--src/core/frontend/framebuffer_layout.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/frontend/framebuffer_layout.cpp b/src/core/frontend/framebuffer_layout.cpp
index 90dd68ff1..b4081fc39 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: