shithub: cstory

Download patch

ref: 91bda896612302a76706ae64b00e4a33f6bbf87c
parent: 5c575a0be99ff7ed0066174e9935b787a1dd5f2d
author: Clownacy <Clownacy@users.noreply.github.com>
date: Sun Apr 19 16:48:48 EDT 2020

Restore proper 4:3 aspect ratio

--- a/src/Backends/WiiU/Window-Software-Polygon.cpp
+++ b/src/Backends/WiiU/Window-Software-Polygon.cpp
@@ -58,10 +58,10 @@
 
 			// Initialise vertex position buffer
 			const float vertex_positions[4][2] = {
-				{-1.0f, -1.0f},
-				{-1.0f,  1.0f},
-				{ 1.0f,  1.0f},
-				{ 1.0f, -1.0f}
+				{-640.0f / 854.0f, -1.0f},
+				{-640.0f / 854.0f,  1.0f},
+				{ 640.0f / 854.0f,  1.0f},
+				{ 640.0f / 854.0f, -1.0f}
 			};
 
 			vertex_position_buffer.flags = (GX2RResourceFlags)(GX2R_RESOURCE_BIND_VERTEX_BUFFER |