diff --git a/config.h.def b/config.h.def index 36e32254f2..859daec4bb 100644 --- a/config.h.def +++ b/config.h.def @@ -53,7 +53,7 @@ static const float xscale = 3.0; // Real x res = 296 * xscale static const float yscale = 3.0; // Real y res = 224 * yscale // Fullscreen -static bool fullscreen = false; // To start in Fullscreen or not +#define START_FULLSCREEN false; // To start in Fullscreen or not static const unsigned fullscreen_x = 1280; static const unsigned fullscreen_y = 720; diff --git a/general.h b/general.h index b2e13bb542..50b071add8 100644 --- a/general.h +++ b/general.h @@ -33,5 +33,6 @@ extern bool verbose; extern SRC_STATE *source; +extern bool fullscreen; #endif diff --git a/ssnes.c b/ssnes.c index c19213a723..7ed812dd08 100644 --- a/ssnes.c +++ b/ssnes.c @@ -199,6 +199,7 @@ static void print_help(void) puts("\t-v/--verbose: Verbose logging"); } +bool fullscreen = START_FULLSCREEN; static FILE* rom_file = NULL; static char savefile_name_srm[256] = {0}; bool verbose = false;