From 2fc3a60c55b63d375b5c0f95805110bce721c2ca Mon Sep 17 00:00:00 2001 From: adelikat Date: Thu, 18 Dec 2008 17:56:41 +0000 Subject: [PATCH] Win32 - first Full screen fix, will stay in Full screen mode now --- src/drivers/win/main.cpp | 2 +- src/drivers/win/main.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/win/main.cpp b/src/drivers/win/main.cpp index acb603b2..c2ca5392 100644 --- a/src/drivers/win/main.cpp +++ b/src/drivers/win/main.cpp @@ -150,11 +150,11 @@ HRESULT ddrval; static char TempArray[2048]; - static int exiting = 0; static volatile int moocow = 0; int windowedfailed; +int fullscreen = 0; //Windows files only, variable that keeps track of fullscreen status static volatile int _userpause = 0; //mbg merge 7/18/06 changed tasbuild was using this only in a couple of places diff --git a/src/drivers/win/main.h b/src/drivers/win/main.h index aa2c0e0b..3589c290 100644 --- a/src/drivers/win/main.h +++ b/src/drivers/win/main.h @@ -27,7 +27,7 @@ extern int maxconbskip; extern int ffbskip; extern void LoadNewGamey(HWND hParent, const char *initialdir); extern void CloseGame(); -static int fullscreen = 0; +extern int fullscreen; //Windows files only, keeps track of fullscreen status // Flag that indicates whether Game Genie is enabled or not. extern int genie;