Rename SecondaryDisplayLayout::ReversePrimary for consistency

This commit is contained in:
OpenSauce04 2026-04-26 18:25:18 +01:00 committed by David Griswold
parent be6ac2cd01
commit f264aaec96
2 changed files with 3 additions and 3 deletions

View file

@ -62,7 +62,7 @@ enum class SecondaryDisplayLayout : u32 {
TopScreenOnly,
BottomScreenOnly,
SideBySide,
ReversePrimary,
OppositeScreenOnly,
Original,
Hybrid,
LargeScreen

View file

@ -324,8 +324,8 @@ FramebufferLayout AndroidSecondaryLayout(u32 width, u32 height) {
return HybridScreenLayout(width, height, false, Settings::values.upright_screen.GetValue());
case Settings::SecondaryDisplayLayout::None:
// this should never happen - if "none" is set this method shouldn't run - but if it does,
// somehow, use ReversePrimary
case Settings::SecondaryDisplayLayout::ReversePrimary:
// somehow, use OppositeScreenOnly
case Settings::SecondaryDisplayLayout::OppositeScreenOnly:
default:
return SingleFrameLayout(width, height, !Settings::values.swap_screen.GetValue(),
Settings::values.upright_screen.GetValue());