summaryrefslogtreecommitdiff
path: root/src/core/frontend/emu_window.cpp
diff options
context:
space:
mode:
authorGravatar ThaMighty902017-08-25 23:53:07 +0200
committerGravatar bunnei2017-08-25 17:53:07 -0400
commit3cdf854e44e7ff088fa0cbdcfa2bcc6e41822b2c (patch)
treefea4d815243451086ec4da459f3a310b02019437 /src/core/frontend/emu_window.cpp
parentMerge pull request #2839 from Subv/global_kernel_lock (diff)
downloadyuzu-3cdf854e44e7ff088fa0cbdcfa2bcc6e41822b2c.tar.gz
yuzu-3cdf854e44e7ff088fa0cbdcfa2bcc6e41822b2c.tar.xz
yuzu-3cdf854e44e7ff088fa0cbdcfa2bcc6e41822b2c.zip
SidebySide Layout (#2859)
* added a SidebySide Layout * Reworked, so both screen have the same height and cleaned up screen translates. * added the option in the UI, hope this is the right way to do it. formated framebuffer_layout.cpp * delete the x64 files * deleted ui_configure_graphics.h * added Option for the Layout in the xml * got rid of SIDE_BY_SIDE_ASPECT_RATIO because it was useless. pulled translate into variables * changed shift variables to u32 and moved them in their respective branch. remove notr="true" for the Screen layout drop down * reworked intends :). changed function description for SideFrameLayout * some description reworking
Diffstat (limited to 'src/core/frontend/emu_window.cpp')
-rw-r--r--src/core/frontend/emu_window.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/frontend/emu_window.cpp b/src/core/frontend/emu_window.cpp
index 60b20d4e2..54fa5c7fa 100644
--- a/src/core/frontend/emu_window.cpp
+++ b/src/core/frontend/emu_window.cpp
@@ -74,6 +74,9 @@ void EmuWindow::UpdateCurrentFramebufferLayout(unsigned width, unsigned height)
74 case Settings::LayoutOption::LargeScreen: 74 case Settings::LayoutOption::LargeScreen:
75 layout = Layout::LargeFrameLayout(width, height, Settings::values.swap_screen); 75 layout = Layout::LargeFrameLayout(width, height, Settings::values.swap_screen);
76 break; 76 break;
77 case Settings::LayoutOption::SideScreen:
78 layout = Layout::SideFrameLayout(width, height, Settings::values.swap_screen);
79 break;
77 case Settings::LayoutOption::Default: 80 case Settings::LayoutOption::Default:
78 default: 81 default:
79 layout = Layout::DefaultFrameLayout(width, height, Settings::values.swap_screen); 82 layout = Layout::DefaultFrameLayout(width, height, Settings::values.swap_screen);