2 // settings.h: Header file
8 // MAX_PATH isn't defined in stdlib.h on *nix, so we do it here...
11 #define MAX_PATH _POSIX_PATH_MAX
13 #include <stdlib.h> // for MAX_PATH on MinGW/Darwin
16 #define MAX_PATH _MAX_PATH // Urgh.
26 int32_t joyport; // Joystick port
27 bool hardwareTypeNTSC; // Set to false for PAL
35 bool hardwareTypeAlpine;
39 bool allowWritesToROM;
43 // Keybindings in order of U, D, L, R, C, B, A, Op, Pa, 0-9, #, *
45 uint32_t p1KeyBindings[21];
46 uint32_t p2KeyBindings[21];
50 char ROMPath[MAX_PATH];
51 char jagBootPath[MAX_PATH];
52 char CDBootPath[MAX_PATH];
53 char EEPROMPath[MAX_PATH];
54 char alpineROMPath[MAX_PATH];
55 char absROMPath[MAX_PATH];
60 enum { RT_NORMAL = 0, RT_TV = 1 };
64 enum { BT_K_SERIES, BT_M_SERIES, BT_STUBULATOR_1, BT_STUBULATOR_2 };
68 extern VJSettings vjs;
70 #endif // __SETTINGS_H__