mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2026-04-08 02:11:29 -06:00
added other secondary layouts
This commit is contained in:
parent
39124f6cfe
commit
7e78498b33
@ -44,6 +44,7 @@
|
||||
<item>@string/emulation_screen_layout_original</item>
|
||||
<item>@string/emulation_screen_layout_hybrid</item>
|
||||
<item>@string/emulation_screen_layout_largescreen</item>
|
||||
|
||||
</string-array>
|
||||
|
||||
<integer-array name="portraitLayoutValues">
|
||||
|
||||
@ -305,9 +305,7 @@ FramebufferLayout AndroidSecondaryLayout(u32 width, u32 height) {
|
||||
const Settings::SecondaryDisplayLayout layout =
|
||||
Settings::values.secondary_display_layout.GetValue();
|
||||
switch (layout) {
|
||||
case Settings::SecondaryDisplayLayout::ReversePrimary:
|
||||
return SingleFrameLayout(width,height,! Settings::values.swap_screen,Settings::values.upright_screen.GetValue());
|
||||
case Settings::SecondaryDisplayLayout::TopScreenOnly:
|
||||
case Settings::SecondaryDisplayLayout::TopScreenOnly:
|
||||
return SingleFrameLayout(width, height, false, Settings::values.upright_screen.GetValue());
|
||||
|
||||
case Settings::SecondaryDisplayLayout::BottomScreenOnly:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user