android: Fixed landscape layouts not displaying correctly

This commit is contained in:
OpenSauce04
2024-05-28 12:42:25 +01:00
parent d0b03cc9c5
commit 794a12c3f6
3 changed files with 8 additions and 0 deletions

View File

@@ -228,10 +228,12 @@ void EmuWindow::UpdateCurrentFramebufferLayout(u32 width, u32 height, bool is_po
Layout::LargeFrameLayout(width, height, Settings::values.swap_screen.GetValue(),
false, 2.25f, Layout::VerticalAlignment::Top);
break;
#ifndef ANDROID // TODO: Implement custom layouts on Android
case Settings::LayoutOption::CustomLayout:
layout =
Layout::CustomFrameLayout(width, height, Settings::values.swap_screen.GetValue());
break;
#endif
case Settings::LayoutOption::Default:
default:
layout =