shithub: cstory

Download patch

ref: abdd7fc771cfed3f45a1354162e66cab90b5b1cf
parent: 17fb47bce86c91634067a2e26d105fe3b82b2bea
author: Clownacy <Clownacy@users.noreply.github.com>
date: Tue Apr 21 19:53:37 EDT 2020

Add missing case for Wii U screen size

My Wii U always uses this value

--- a/src/Backends/Rendering/WiiU.cpp
+++ b/src/Backends/Rendering/WiiU.cpp
@@ -183,6 +183,7 @@
 								break;
 
 							case GX2_TV_SCAN_MODE_720P:
+							case 4:	// Why the hell doesn't WUT have an enum for this? It always returns this value for me!
 								CalculateViewport(1280, 720, &tv_viewport);
 								break;
 
--- a/src/Backends/WiiU/Window-Software-Polygon.cpp
+++ b/src/Backends/WiiU/Window-Software-Polygon.cpp
@@ -163,6 +163,7 @@
 						break;
 
 					case GX2_TV_SCAN_MODE_720P:
+					case 4:	// Why the hell doesn't WUT have an enum for this? It always returns this value for me!
 						CalculateViewport(1280, 720, &tv_viewport);
 						break;