From 9e9804c42853bb7cf82aab95d54ab44997e684b9 Mon Sep 17 00:00:00 2001 From: hunterk Date: Tue, 8 Dec 2020 14:10:07 -0600 Subject: [PATCH] switch interlacing's detection to use OriginalSize to improve compatibility with prescaling passes --- misc/interlacing.slang | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/interlacing.slang b/misc/interlacing.slang index f353206..ff4eb65 100644 --- a/misc/interlacing.slang +++ b/misc/interlacing.slang @@ -52,7 +52,7 @@ void main() float tick = registers.FrameCount; // assume anything with a vertical resolution greater than 400 lines is interlaced - if (registers.SourceSize.y > 400.0) + if (registers.OriginalSize.y > 400.0) {y = registers.SourceSize.y * vTexCoord.y + (tick * registers.enable_480i) + registers.top_field_first;} else {y = 2.000001 * registers.SourceSize.y * vTexCoord.y + registers.top_field_first;}