diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-08-26 19:15:00 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-26 19:15:00 -0400 |
| commit | 6c4abd23be375afda850661cdf164b65e52f8cb8 (patch) | |
| tree | 4245dfb837da484556040bb02915d0e7b53569c8 /src/core/frontend/framebuffer_layout.cpp | |
| parent | 84b384fbeafcb49f7ded1300cfc9dfa319a2fd3a (diff) | |
| parent | 1cdd11d9f5541ba9b49baf3dddcb7e411f035669 (diff) | |
Merge pull request #11356 from lat9nq/console-mode-pg
general,config-qt: Present Console Mode as an enum with separate options in game properties
Diffstat (limited to 'src/core/frontend/framebuffer_layout.cpp')
| -rw-r--r-- | src/core/frontend/framebuffer_layout.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/frontend/framebuffer_layout.cpp b/src/core/frontend/framebuffer_layout.cpp index b4081fc39..2590b20da 100644 --- a/src/core/frontend/framebuffer_layout.cpp +++ b/src/core/frontend/framebuffer_layout.cpp @@ -5,6 +5,7 @@ #include "common/assert.h" #include "common/settings.h" +#include "common/settings_enums.h" #include "core/frontend/framebuffer_layout.h" namespace Layout { @@ -49,7 +50,7 @@ FramebufferLayout DefaultFrameLayout(u32 width, u32 height) { } FramebufferLayout FrameLayoutFromResolutionScale(f32 res_scale) { - const bool is_docked = Settings::values.use_docked_mode.GetValue(); + const bool is_docked = Settings::IsDockedMode(); const u32 screen_width = is_docked ? ScreenDocked::Width : ScreenUndocked::Width; const u32 screen_height = is_docked ? ScreenDocked::Height : ScreenUndocked::Height; |
