diff options
| author | 2022-10-12 12:54:23 -0700 | |
|---|---|---|
| committer | 2022-10-12 12:54:23 -0700 | |
| commit | 3da4280e816bd771d6b2649e70dc6d7c99002948 (patch) | |
| tree | fd82415169610de21e05d79a3631d907c5640835 /src/core/frontend/framebuffer_layout.cpp | |
| parent | Merge pull request #9049 from liamwhite/monkeyhawk (diff) | |
| parent | yuzu: Add 16:10 aspect ratio (diff) | |
| download | yuzu-3da4280e816bd771d6b2649e70dc6d7c99002948.tar.gz yuzu-3da4280e816bd771d6b2649e70dc6d7c99002948.tar.xz yuzu-3da4280e816bd771d6b2649e70dc6d7c99002948.zip | |
Merge pull request #9047 from german77/steam-aspect
yuzu: Add 16:10 aspect ratio
Diffstat (limited to 'src/core/frontend/framebuffer_layout.cpp')
| -rw-r--r-- | src/core/frontend/framebuffer_layout.cpp | 2 |
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) { | |||
| 67 | return 3.0f / 4.0f; | 67 | return 3.0f / 4.0f; |
| 68 | case AspectRatio::R21_9: | 68 | case AspectRatio::R21_9: |
| 69 | return 9.0f / 21.0f; | 69 | return 9.0f / 21.0f; |
| 70 | case AspectRatio::R16_10: | ||
| 71 | return 10.0f / 16.0f; | ||
| 70 | case AspectRatio::StretchToWindow: | 72 | case AspectRatio::StretchToWindow: |
| 71 | return window_aspect_ratio; | 73 | return window_aspect_ratio; |
| 72 | default: | 74 | default: |