Check potential non-existent global variables found in the DWARF information
[clinton/Virtual-Jaguar-Rx.git] / src / settings.h
index d0a8f4d..5671ef8 100644 (file)
@@ -28,7 +28,7 @@
 \r
 \r
 // List the erase settings possibilities\r
-typedef enum\r
+enum\r
 {\r
        SETTINGS_NONE = 0,\r
        SETTINGS_ALL,\r
@@ -39,6 +39,15 @@ typedef enum
 };\r
 \r
 \r
+// Key bindings settings structure\r
+struct KBSettings\r
+{\r
+       //char KBSettingName[100];\r
+       char KBSettingValue[100];\r
+       //char KBSettingDefaultValue[100];\r
+};\r
+\r
+\r
 // functions declarations\r
 extern bool EraseSettings(char *Setting);\r
 \r
@@ -49,12 +58,14 @@ struct VJSettings
        bool useJoystick;\r
        int32_t joyport;                                                                                        // Joystick port\r
        bool hardwareTypeNTSC;                                                                          // Set to false for PAL, otherwise it is NTSC\r
-       bool useJaguarBIOS;\r
+       bool useJaguarBIOS;                                                                                     // Use of any Jaguar BIOS\r
+       bool useRetailBIOS;                                                                                     // Use of Retail BIOS\r
+       bool useDevBIOS;                                                                                        // Use of Development BIOS\r
        bool GPUEnabled;\r
        bool DSPEnabled;\r
        bool usePipelinedDSP;\r
        bool fullscreen;\r
-       bool useOpenGL;\r
+       bool useOpenGL;                                                                                         // OpenGL support (always 'true')\r
        uint32_t glFilter;\r
        bool hardwareTypeAlpine;                                                                        // Alpine mode\r
        bool softTypeDebugger;                                                                          // Soft type debugger mode\r
@@ -63,7 +74,8 @@ struct VJSettings
        uint32_t renderType;\r
        uint32_t refresh;\r
        bool allowWritesToROM;\r
-       uint32_t biosType;\r
+       uint32_t biosType;                                                                                      // Bios type used\r
+       uint32_t jaguarModel;                                                                           // Jaguar model\r
        size_t nbrdisasmlines;                                                                          // Number of lines to show in the M68K tracing window\r
        bool disasmopcodes;\r
        bool displayHWlabels;\r
@@ -73,12 +85,13 @@ struct VJSettings
        size_t DRAM_size;                                                                                       // DRAM size\r
 \r
        // Keybindings in order of U, D, L, R, C, B, A, Op, Pa, 0-9, #, *\r
-\r
        uint32_t p1KeyBindings[21];\r
        uint32_t p2KeyBindings[21];\r
 \r
-       // Paths\r
+       // Keybindings\r
+       KBSettings KBContent[100];\r
 \r
+       // Paths\r
        char ROMPath[MAX_PATH];\r
        char jagBootPath[MAX_PATH];\r
        char CDBootPath[MAX_PATH];\r
@@ -86,18 +99,19 @@ struct VJSettings
        char alpineROMPath[MAX_PATH];\r
        char debuggerROMPath[MAX_PATH];\r
        char absROMPath[MAX_PATH];\r
+       char screenshotPath[MAX_PATH];\r
 };\r
 \r
 // Render types\r
-\r
 enum { RT_NORMAL = 0, RT_TV = 1 };\r
 \r
-// BIOS types\r
+// Jaguar models\r
+enum { JAG_NULL_SERIES, JAG_K_SERIES, JAG_M_SERIES };\r
 \r
-enum { BT_K_SERIES, BT_M_SERIES, BT_STUBULATOR_1, BT_STUBULATOR_2 };\r
+// BIOS types\r
+enum { BT_NULL, BT_K_SERIES, BT_M_SERIES, BT_STUBULATOR_1, BT_STUBULATOR_2 };\r
 \r
 // Exported variables\r
-\r
 extern VJSettings vjs;\r
 \r
 #endif // __SETTINGS_H__\r