diff options
| author | 2022-10-10 13:32:09 -0500 | |
|---|---|---|
| committer | 2022-10-10 13:32:33 -0500 | |
| commit | eb74ef474b6ff98db2b39b5fee43d51f404dbca4 (patch) | |
| tree | 5377443b1b6af48359edd6243470d6ce56f81ec9 /src/core/frontend/framebuffer_layout.cpp | |
| parent | Merge pull request #8915 from vonchenplus/opus_multi_stream (diff) | |
| download | yuzu-eb74ef474b6ff98db2b39b5fee43d51f404dbca4.tar.gz yuzu-eb74ef474b6ff98db2b39b5fee43d51f404dbca4.tar.xz yuzu-eb74ef474b6ff98db2b39b5fee43d51f404dbca4.zip | |
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: |