diff options
-rw-r--r-- | src/frontend/Util_Video.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/Util_Video.cpp b/src/frontend/Util_Video.cpp index 271d40b..b59764b 100644 --- a/src/frontend/Util_Video.cpp +++ b/src/frontend/Util_Video.cpp @@ -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) { |