1 //
2 // settings.h: Header file
3 //
4 
5 #ifndef __SETTINGS_H__
6 #define __SETTINGS_H__
7 
8 #include <stdint.h>
9 #include <stdlib.h>								// for MAX_PATH on MinGW/Darwin
10 #include <limits.h>
11 
12 #include <boolean.h>
13 
14 #ifndef MAX_PATH
15 #define MAX_PATH		4096
16 #endif
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
22 // Settings struct
23 
24 struct VJSettings
25 {
26 	int32_t joyport;								// Joystick port
27 	bool hardwareTypeNTSC;						// Set to false for PAL
28 	bool useJaguarBIOS;
29 	bool hardwareTypeAlpine;
30 	uint32_t frameSkip;
31 	uint32_t biosType;
32 	bool useFastBlitter;
33 
34 	// Paths
35 
36 	char jagBootPath[MAX_PATH];
37 	char CDBootPath[MAX_PATH];
38 	char EEPROMPath[MAX_PATH];
39 	char alpineROMPath[MAX_PATH];
40 
41 	char romName[MAX_PATH];
42 };
43 
44 // BIOS types
45 
46 enum { BT_K_SERIES, BT_M_SERIES, BT_STUBULATOR_1, BT_STUBULATOR_2 };
47 
48 // Exported variables
49 
50 extern struct VJSettings vjs;
51 
52 #ifdef __cplusplus
53 }
54 #endif
55 
56 #endif	// __SETTINGS_H__
57