]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/settings.h
Fixed controller profile system.
[virtualjaguar] / src / settings.h
index bb160d5e9ee4c777f9f323a4b3d611b275dbe20e..efd1306646a3564d820f5265da03d3eb923f7912 100644 (file)
 #include <limits.h>
 #define MAX_PATH               _POSIX_PATH_MAX
 #else
-#include <stdlib.h>                                                            // for MAX_PATH on MinGW/Darwin
+#include <stdlib.h>                            // for MAX_PATH on MinGW/Darwin
+// Kludge for Win64
+#ifndef MAX_PATH
+#define MAX_PATH _MAX_PATH             // Urgh.
+#endif
 #endif
 #include <stdint.h>
 
@@ -19,8 +23,8 @@
 struct VJSettings
 {
        bool useJoystick;
-       int32_t joyport;                                                                // Joystick port
-       bool hardwareTypeNTSC;                                          // Set to false for PAL
+       int32_t joyport;                        // Joystick port
+       bool hardwareTypeNTSC;          // Set to false for PAL
        bool useJaguarBIOS;
        bool GPUEnabled;
        bool DSPEnabled;
@@ -34,6 +38,7 @@ struct VJSettings
        uint32_t renderType;
        bool allowWritesToROM;
        uint32_t biosType;
+       bool useFastBlitter;
 
        // Keybindings in order of U, D, L, R, C, B, A, Op, Pa, 0-9, #, *
 
@@ -58,11 +63,6 @@ enum { RT_NORMAL = 0, RT_TV = 1 };
 
 enum { BT_K_SERIES, BT_M_SERIES, BT_STUBULATOR_1, BT_STUBULATOR_2 };
 
-// Exported functions
-
-//void LoadVJSettings(void);
-//void SaveVJSettings(void);
-
 // Exported variables
 
 extern VJSettings vjs;