summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/frontend/framebuffer_layout.cpp4
-rw-r--r--src/core/frontend/framebuffer_layout.h16
2 files changed, 10 insertions, 10 deletions
diff --git a/src/core/frontend/framebuffer_layout.cpp b/src/core/frontend/framebuffer_layout.cpp
index 2dc795d56..68a0e0906 100644
--- a/src/core/frontend/framebuffer_layout.cpp
+++ b/src/core/frontend/framebuffer_layout.cpp
@@ -48,8 +48,8 @@ FramebufferLayout FrameLayoutFromResolutionScale(u32 res_scale) {
48 u32 width, height; 48 u32 width, height;
49 49
50 if (Settings::values.use_docked_mode) { 50 if (Settings::values.use_docked_mode) {
51 width = ScreenDocked::WidthDocked * res_scale; 51 width = ScreenDocked::Width * res_scale;
52 height = ScreenDocked::HeightDocked * res_scale; 52 height = ScreenDocked::Height * res_scale;
53 } else { 53 } else {
54 width = ScreenUndocked::Width * res_scale; 54 width = ScreenUndocked::Width * res_scale;
55 height = ScreenUndocked::Height * res_scale; 55 height = ScreenUndocked::Height * res_scale;
diff --git a/src/core/frontend/framebuffer_layout.h b/src/core/frontend/framebuffer_layout.h
index e9d0a40d3..15ecfb13d 100644
--- a/src/core/frontend/framebuffer_layout.h
+++ b/src/core/frontend/framebuffer_layout.h
@@ -8,15 +8,15 @@
8 8
9namespace Layout { 9namespace Layout {
10 10
11enum ScreenUndocked : u32 { 11namespace ScreenUndocked {
12 Width = 1280, 12constexpr u32 Width = 1280;
13 Height = 720, 13constexpr u32 Height = 720;
14}; 14} // namespace ScreenUndocked
15 15
16enum ScreenDocked : u32 { 16namespace ScreenDocked {
17 WidthDocked = 1920, 17constexpr u32 Width = 1920;
18 HeightDocked = 1080, 18constexpr u32 Height = 1080;
19}; 19} // namespace ScreenDocked
20 20
21enum class AspectRatio { 21enum class AspectRatio {
22 Default, 22 Default,