X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fsettings.cpp;h=b1f864fbdea01179801e0920f706b853a4de1ca7;hb=d59de2a3408a34b53772bfd4b00cd3e8dc50a03b;hp=f4a14c0f817953b4c7c5ce6c4c0eb82e96c74806;hpb=73ca0f1c81b606de50838deb1e464cc95a1e15cc;p=virtualjaguar diff --git a/src/settings.cpp b/src/settings.cpp index f4a14c0..b1f864f 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -1,22 +1,31 @@ // // SETTINGS.CPP: Virtual Jaguar configuration loading/saving support // -// by James L. Hammons +// by James Hammons +// (C) 2010 Underground Software +// +// JLH = James 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