Merge pull request #561 from SciresM/master

Add config option to disable exception vectors.
This commit is contained in:
TuxSH
2017-06-09 00:17:14 +02:00
committed by GitHub
6 changed files with 53 additions and 3 deletions

View File

@@ -94,6 +94,7 @@ void configMenu(bool oldPinStatus, u32 oldPinMode)
"( ) Show GBA boot screen in patched AGB_FIRM",
"( ) Patch ARM9 access",
"( ) Set developer UNITINFO",
"( ) Disable Exception Vectors",
};
const char *optionsDescription[] = { "Select the default EmuNAND.\n\n"
@@ -187,6 +188,13 @@ void configMenu(bool oldPinStatus, u32 oldPinMode)
"and booting some developer software).\n\n"
"Only select this if you know what you\n"
"are doing!",
"Disables the fatal error exception\n"
"vectors for the ARM11 CPU\n"
"Note: Disabling the exception vectors\n"
"will disqualify you from submitting\n"
"issues or bug reports to the Luma3DS\n"
"GitHub repository!"
};
struct multiOption {
@@ -214,6 +222,7 @@ void configMenu(bool oldPinStatus, u32 oldPinMode)
{ .visible = true },
{ .visible = true },
{ .visible = true },
{ .visible = true },
{ .visible = true }
};

View File

@@ -34,7 +34,7 @@
#define CONFIG_FILE "config.bin"
#define CONFIG_VERSIONMAJOR 1
#define CONFIG_VERSIONMINOR 12
#define CONFIG_VERSIONMINOR 13
#define BOOTCFG_NAND BOOTCONFIG(0, 7)
#define BOOTCFG_FIRM BOOTCONFIG(3, 7)
@@ -58,7 +58,8 @@ enum singleOptions
PATCHVERSTRING,
SHOWGBABOOT,
PATCHACCESS,
PATCHUNITINFO
PATCHUNITINFO,
DISABLEVECTORS
};
typedef enum ConfigurationStatus