X-Git-Url: http://git.hcoop.net/clinton/Virtual-Jaguar-Rx.git/blobdiff_plain/25251f31e1982f69878f65fc92c117be76ec0e26..96aa54e4962989f3dd8ace23c2658a35c4e3cace:/src/settings.h diff --git a/src/settings.h b/src/settings.h index 5671ef8..e762201 100644 --- a/src/settings.h +++ b/src/settings.h @@ -2,10 +2,15 @@ // settings.h: Header file // // JPM = Jean-Paul Mari +// RG = Richard Goedeken // // Who When What // --- ---------- ------------------------------------------------------------ // JPM 06/19/2016 Soft debugger support +// JPM Sept./2018 Added the new Models and BIOS handler, and a screenshot settings +// JPM 10/10/2018 Added search paths in settings +// JPM 04/06/2019 Added ELF sections check +// RG Jan./2021 Linux build fix // #ifndef __SETTINGS_H__ @@ -22,6 +27,7 @@ #define MAX_PATH _MAX_PATH // Urgh. #endif #endif +#include #include #define MaxMemory1BrowserWindow 4 @@ -55,16 +61,16 @@ extern bool EraseSettings(char *Setting); // Settings struct struct VJSettings { - bool useJoystick; + bool useJoystick; // Joystick usage int32_t joyport; // Joystick port bool hardwareTypeNTSC; // Set to false for PAL, otherwise it is NTSC bool useJaguarBIOS; // Use of any Jaguar BIOS bool useRetailBIOS; // Use of Retail BIOS bool useDevBIOS; // Use of Development BIOS - bool GPUEnabled; - bool DSPEnabled; + bool GPUEnabled; // Use of GPU + bool DSPEnabled; // Use of DSP bool usePipelinedDSP; - bool fullscreen; + bool fullscreen; // Emulator in full screen mode so video output display only bool useOpenGL; // OpenGL support (always 'true') uint32_t glFilter; bool hardwareTypeAlpine; // Alpine mode @@ -73,7 +79,8 @@ struct VJSettings uint32_t frameSkip; uint32_t renderType; uint32_t refresh; - bool allowWritesToROM; + bool allowM68KExceptionCatch; // Allow M68K exception catch + bool allowWritesToROM; // Allow writing to ROM cartdridge uint32_t biosType; // Bios type used uint32_t jaguarModel; // Jaguar model size_t nbrdisasmlines; // Number of lines to show in the M68K tracing window @@ -81,6 +88,7 @@ struct VJSettings bool displayHWlabels; bool useFastBlitter; bool displayFullSourceFilename; + bool ELFSectionsCheck; size_t nbrmemory1browserwindow; // Number of memory browser windows size_t DRAM_size; // DRAM size @@ -93,13 +101,14 @@ struct VJSettings // Paths char ROMPath[MAX_PATH]; - char jagBootPath[MAX_PATH]; - char CDBootPath[MAX_PATH]; + //char jagBootPath[MAX_PATH]; + //char CDBootPath[MAX_PATH]; char EEPROMPath[MAX_PATH]; char alpineROMPath[MAX_PATH]; char debuggerROMPath[MAX_PATH]; char absROMPath[MAX_PATH]; char screenshotPath[MAX_PATH]; + char sourcefilesearchPaths[4096]; }; // Render types