From 049b460f6e39bbd3e54a7f387dc9516375f6870d Mon Sep 17 00:00:00 2001 From: pagefault <> Date: Wed, 5 Apr 2006 11:29:59 +0000 Subject: [PATCH] Fixed NTSC filter problem when running games in overscan mode --- zsnes/src/win/winlink.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zsnes/src/win/winlink.cpp b/zsnes/src/win/winlink.cpp index e34f1bc0..fb845e01 100644 --- a/zsnes/src/win/winlink.cpp +++ b/zsnes/src/win/winlink.cpp @@ -2020,7 +2020,7 @@ void initwinvideo(void) if ((SurfaceX == 600) || (SurfaceX == 640) || (SurfaceX == 320)) BlitArea.bottom = SurfaceY; else - BlitArea.bottom = (SurfaceY/240)*resolutn; + if (!NTSCFilter) BlitArea.bottom = (SurfaceY/240)*resolutn; if (PrevRes == 0) PrevRes = resolutn; } @@ -2505,9 +2505,9 @@ void drawscreenwin(void) if ((SurfaceX == 640) || (SurfaceX == 320)) BlitArea.bottom = SurfaceY; else - BlitArea.bottom = (SurfaceY/240)*resolutn; + if (!NTSCFilter) BlitArea.bottom = (SurfaceY/240)*resolutn; - if ((FullScreen == 0) && (SMode == 0) && (DSMode == 0)) + if ((FullScreen == 0) && (SMode == 0) && (DSMode == 0) && !NTSCFilter) WindowHeight = (WindowHeight/224)*resolutn; initwinvideo();