mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2024-11-14 21:37:42 -07:00
fix recent regression in screen layout calculation
This commit is contained in:
parent
b78bc4cb66
commit
aceabe92e6
@ -222,7 +222,7 @@ void SetupScreenLayout(int screenWidth, int screenHeight,
|
||||
bool moveV = rotation % 2 == layout;
|
||||
|
||||
float offsetBot = (moveV ? 192.0 : 256.0 * botAspect) / 2.0 + screenGap / 2.0;
|
||||
float offsetTop = -offsetBot;
|
||||
float offsetTop = -((moveV ? 192.0 : 256.0 * topAspect) / 2.0 + screenGap / 2.0);
|
||||
|
||||
if ((rotation == 1 || rotation == 2) ^ swapScreens)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user