Fixed bugs in fullscreen button

This commit is contained in:
pagefault
2001-08-24 21:02:56 +00:00
parent 8faa507fdc
commit 322c15ffc9
3 changed files with 6 additions and 10 deletions

View File

@@ -1491,6 +1491,7 @@ extern unsigned char cvidmode;
DWORD FirstVid=1;
DWORD FirstFull=1;
extern BYTE GUIWFVID[];
extern BYTE PrevWinMode;
void clearwin();
char WinName[]={"ZSNESW\0"};
@@ -1511,6 +1512,7 @@ void initwinvideo(void)
X=0;
Y=0;
FullScreen=GUIWFVID[cvidmode];
if (GUIWFVID[cvidmode] == 0) PrevWinMode = cvidmode;
switch (cvidmode)
{