Updated the M68K exception catch
[clinton/Virtual-Jaguar-Rx.git] / src / settings.h
index 8b7ca16..e762201 100644 (file)
@@ -2,6 +2,7 @@
 // settings.h: Header file\r
 //\r
 // JPM = Jean-Paul Mari <djipi.mari@gmail.com>\r
+//  RG = Richard Goedeken\r
 //\r
 // Who  When        What\r
 // ---  ----------  ------------------------------------------------------------\r
@@ -9,6 +10,7 @@
 // JPM  Sept./2018  Added the new Models and BIOS handler, and a screenshot settings\r
 // JPM  10/10/2018  Added search paths in settings\r
 // JPM  04/06/2019  Added ELF sections check\r
+//  RG   Jan./2021  Linux build fix\r
 //\r
 \r
 #ifndef __SETTINGS_H__\r
@@ -25,6 +27,7 @@
 #define MAX_PATH _MAX_PATH             // Urgh.\r
 #endif\r
 #endif\r
+#include <stdlib.h>\r
 #include <stdint.h>\r
 \r
 #define MaxMemory1BrowserWindow                4\r
@@ -76,6 +79,7 @@ struct VJSettings
        uint32_t frameSkip;\r
        uint32_t renderType;\r
        uint32_t refresh;\r
+       bool allowM68KExceptionCatch;                                                           // Allow M68K exception catch\r
        bool allowWritesToROM;                                                                          // Allow writing to ROM cartdridge\r
        uint32_t biosType;                                                                                      // Bios type used\r
        uint32_t jaguarModel;                                                                           // Jaguar model\r