Setting "Dev. options" to "None" now disables the exception handlers and related patches (again)

Port the UNITINFO patch to TWL/AGB (although it doesn't make debugging information display on fatal errors) and SAFE firms.
On dev units this patch will set it to its "retail" value (i.e. 0)
This commit is contained in:
TuxSH
2016-08-23 20:39:42 +02:00
parent 7f672fb417
commit 2a84911d3b
5 changed files with 57 additions and 34 deletions

View File

@@ -564,7 +564,7 @@ void patchCode(u64 progId, u8 *code, u32 size)
case 0x0004003000008A02LL: // ErrDisp
{
if(MULTICONFIG(2) == 1)
if(MULTICONFIG(2) == 0)
{
static const u8 unitinfoCheckPattern1[] = {
0x14, 0x00, 0xD0, 0xE5, 0xDB, 0x9A, 0x9F, 0xED