diff options
| author | Narr the Reg <juangerman-13@hotmail.com> | 2022-10-10 13:32:09 -0500 |
|---|---|---|
| committer | Narr the Reg <juangerman-13@hotmail.com> | 2022-10-10 13:32:33 -0500 |
| commit | 70825554ecbb6d2c732c0e878f27da857d751a12 (patch) | |
| tree | 5377443b1b6af48359edd6243470d6ce56f81ec9 /src/core | |
| parent | f39b70a21bf277bd61613b5a183199c11a2bf4cb (diff) | |
yuzu: Add 16:10 aspect ratio
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/frontend/framebuffer_layout.cpp | 2 | ||||
| -rw-r--r-- | src/core/frontend/framebuffer_layout.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/core/frontend/framebuffer_layout.cpp b/src/core/frontend/framebuffer_layout.cpp index 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.h index 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, }; |
