mirror of
https://github.com/azahar-emu/azahar.git
synced 2026-06-05 18:23:39 -04:00
added other secondary layouts
This commit is contained in:
parent
3c803af0f5
commit
a603f261e7
2 changed files with 2 additions and 3 deletions
|
|
@ -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…
Add table
Reference in a new issue