]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/settings.h
Fixed controller profile system.
[virtualjaguar] / src / settings.h
index 8c2d226821e9fecd5d0c0bc01190fd454805567b..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;