From 9554b01df1fdfdccbd863c32120ba4757063385b Mon Sep 17 00:00:00 2001 From: Themaister Date: Fri, 31 Dec 2010 14:20:49 +0100 Subject: [PATCH 1/2] Fix fullscreen. --- config.h.def | 2 +- general.h | 1 + ssnes.c | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) 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; From e318d04407013ae772010bbd3ecbd0c0035da69d Mon Sep 17 00:00:00 2001 From: Themaister Date: Fri, 24 Dec 2010 11:53:43 +0100 Subject: [PATCH 2/2] Fix makefile --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 987fe2ef31..94f52f093a 100644 --- a/Makefile +++ b/Makefile @@ -64,6 +64,8 @@ uninstall: $(TARGET) clean: rm -f *.o + rm -f audio/*.o + rm -f gfx/*.o rm -f hqflt/*.o rm -f hqflt/snes_ntsc/*.o rm -f $(TARGET)