diff options
| author | 2017-08-25 23:53:07 +0200 | |
|---|---|---|
| committer | 2017-08-25 17:53:07 -0400 | |
| commit | 3cdf854e44e7ff088fa0cbdcfa2bcc6e41822b2c (patch) | |
| tree | fea4d815243451086ec4da459f3a310b02019437 /src/core/settings.h | |
| parent | Merge pull request #2839 from Subv/global_kernel_lock (diff) | |
| download | yuzu-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/settings.h')
| -rw-r--r-- | src/core/settings.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/settings.h b/src/core/settings.h index 7e15b119b..ca657719a 100644 --- a/src/core/settings.h +++ b/src/core/settings.h | |||
| @@ -15,6 +15,7 @@ enum class LayoutOption { | |||
| 15 | Default, | 15 | Default, |
| 16 | SingleScreen, | 16 | SingleScreen, |
| 17 | LargeScreen, | 17 | LargeScreen, |
| 18 | SideScreen, | ||
| 18 | }; | 19 | }; |
| 19 | 20 | ||
| 20 | namespace NativeButton { | 21 | namespace NativeButton { |
| @@ -70,7 +71,7 @@ enum Values { | |||
| 70 | static const std::array<const char*, NumAnalogs> mapping = {{ | 71 | static const std::array<const char*, NumAnalogs> mapping = {{ |
| 71 | "circle_pad", "c_stick", | 72 | "circle_pad", "c_stick", |
| 72 | }}; | 73 | }}; |
| 73 | } // namespace NumAnalog | 74 | } // namespace NativeAnalog |
| 74 | 75 | ||
| 75 | struct Values { | 76 | struct Values { |
| 76 | // CheckNew3DS | 77 | // CheckNew3DS |
| @@ -137,4 +138,4 @@ struct Values { | |||
| 137 | static constexpr int REGION_VALUE_AUTO_SELECT = -1; | 138 | static constexpr int REGION_VALUE_AUTO_SELECT = -1; |
| 138 | 139 | ||
| 139 | void Apply(); | 140 | void Apply(); |
| 140 | } | 141 | } // namespace Settings |