X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fsettings.cpp;h=977e925320897801e9ce18f23d02eeb8aa55e787;hb=bae593a9f2f6557d271d8b2eacc5d4a825cf4b0a;hp=f4a14c0f817953b4c7c5ce6c4c0eb82e96c74806;hpb=73ca0f1c81b606de50838deb1e464cc95a1e15cc;p=virtualjaguar diff --git a/src/settings.cpp b/src/settings.cpp index f4a14c0..977e925 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -2,21 +2,30 @@ // SETTINGS.CPP: Virtual Jaguar configuration loading/saving support // // by James L. Hammons +// (C) 2010 Underground Software +// +// JLH = James L. Hammons +// +// Who When What +// --- ---------- ------------------------------------------------------------- +// JLH 01/16/2010 Created this log // -#include -#include -#include "SDL.h" -#include "sdlemu_config.h" -#include "log.h" #include "settings.h" +//#include +//#include +//#include "SDL.h" +//#include "sdlemu_config.h" +//#include "log.h" + using namespace std; // Global variables VJSettings vjs; +#if 0 // Private function prototypes void CheckForTrailingSlash(char * path); @@ -42,6 +51,7 @@ void LoadVJSettings(void) vjs.fullscreen = sdlemu_getval_bool("fullscreen", false); vjs.useOpenGL = sdlemu_getval_bool("useOpenGL", true); vjs.glFilter = sdlemu_getval_int("glFilterType", 0); + vjs.renderType = sdlemu_getval_int("renderType", 0); // Keybindings in order of U, D, L, R, C, B, A, Op, Pa, 0-9, #, * vjs.p1KeyBindings[0] = sdlemu_getval_int("p1k_up", SDLK_UP); @@ -114,3 +124,4 @@ void CheckForTrailingSlash(char * path) if (path[strlen(path) - 1] != '/') strcat(path, "/"); // NOTE: Possible buffer overflow } +#endif