Fixed remaining bugs with NTSC filter in windows

This commit is contained in:
pagefault
2006-03-29 04:40:07 +00:00
parent 7b4a865189
commit a4282f470c

View File

@@ -1901,16 +1901,8 @@ void initwinvideo(void)
case 6: case 6:
case 7: case 7:
case 8: case 8:
if (NTSCFilter && !FullScreen) WindowWidth=640;
{ WindowHeight=480;
WindowWidth=600;
WindowHeight=446;
}
else
{
WindowWidth=640;
WindowHeight=480;
}
break; break;
case 9: case 9:
case 10: case 10:
@@ -1978,8 +1970,13 @@ void initwinvideo(void)
else else
SurfaceX = 640; SurfaceX = 640;
SurfaceY=480; SurfaceY=480;
if (NTSCFilter && WindowHeight == 600 || FullScreen) if (NTSCMode)
{ {
if (!FullScreen)
{
WindowWidth == 600;
WindowHeight == 446;
}
SurfaceX = 600; SurfaceX = 600;
SurfaceY = 446; SurfaceY = 446;
} }