Fixed some minor bugs

This commit is contained in:
pagefault
2002-04-18 17:51:34 +00:00
parent 96051e76e3
commit 7ad5a4e427

View File

@@ -1696,7 +1696,7 @@ void initwinvideo(void)
if (FullScreen == 0) if (FullScreen == 0)
BlitArea.bottom = (SurfaceY/240)*resolutn; BlitArea.bottom = (SurfaceY/240)*resolutn;
else else
BlitArea.bottom = (SurfaceY/224)*resolutn; BlitArea.bottom = SurfaceY;
if (PrevRes == 0) PrevRes = resolutn; if (PrevRes == 0) PrevRes = resolutn;
@@ -2405,7 +2405,7 @@ void drawscreenwin(void)
} }
} }
if (SurfaceX==512&&SurfaceY==448||SurfaceY==480) if (SurfaceX==512 && (SurfaceY==448 || SurfaceY==480))
{ {
switch (BitDepth) switch (BitDepth)
{ {