From 3b951c0232d851bea26ee221dd8cb9d38f6f0105 Mon Sep 17 00:00:00 2001 From: Marcel <5397997+mar753@users.noreply.github.com> Date: Mon, 11 Feb 2019 11:15:01 +0100 Subject: [PATCH] Vertical scale factor support added - typo fix --- core/rend/gles/gltex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/rend/gles/gltex.cpp b/core/rend/gles/gltex.cpp index 6820a5fc4..331f8c4f9 100644 --- a/core/rend/gles/gltex.cpp +++ b/core/rend/gles/gltex.cpp @@ -459,7 +459,7 @@ void BindRTT(u32 addy, u32 fbw, u32 fbh, u32 channels, u32 fmt) u32 fbhViewport = fbh; if (SCALER_CTL.vscalefactor != 0x0400) { - fbh = round(fbw * binaryFractionToDouble( + fbh = round(fbh * binaryFractionToDouble( SCALER_CTL.vscalefactor >> 10, SCALER_CTL.vscalefactor & 0x3FF, 10)); }