]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
NTSC to PAL software switch vertical change fix.
authorToni Wilen <twilen@winuae.net>
Sat, 22 Jan 2022 14:19:47 +0000 (16:19 +0200)
committerToni Wilen <twilen@winuae.net>
Sat, 22 Jan 2022 14:19:47 +0000 (16:19 +0200)
od-win32/win32_scaler.cpp

index 7105dc83e03dd4e63ee42ab53c9714b9dde9ad4c..82b2006a12dacb4fc32f041bcb816175e9736176 100644 (file)
@@ -686,7 +686,7 @@ cont:
                float ll = l * 2 + 1;
                if (currprefs.ntscmode) {
                        if (palntscadjust && isp) {
-                               palntscratio = palntscratio * (ll / 525.0);
+                               palntscratio = palntscratio * (525.0 / ll);
                        }
                        if (keep_aspect == 2 && isp) {
                                palntscratio = palntscratio * 0.93f;