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
22 int32_t joyport; // Joystick port
23 bool hardwareTypeNTSC; // Set to false for PAL
31 bool hardwareTypeAlpine;
35 bool allowWritesToROM;
39 // Keybindings in order of U, D, L, R, C, B, A, Op, Pa, 0-9, #, *
41 uint32_t p1KeyBindings[21];
42 uint32_t p2KeyBindings[21];
46 char ROMPath[MAX_PATH];
47 char jagBootPath[MAX_PATH];
48 char CDBootPath[MAX_PATH];
49 char EEPROMPath[MAX_PATH];
50 char alpineROMPath[MAX_PATH];
51 char absROMPath[MAX_PATH];
56 enum { RT_NORMAL = 0, RT_TV = 1 };
60 enum { BT_K_SERIES, BT_M_SERIES, BT_STUBULATOR_1, BT_STUBULATOR_2 };
64 extern VJSettings vjs;
66 #endif // __SETTINGS_H__