From f7e570383abf2936cfac45cc1162432ccbbd4c89 Mon Sep 17 00:00:00 2001 From: Aurora Date: Sat, 5 Nov 2016 17:46:47 +0100 Subject: [PATCH] Add dev unit check --- injector/source/patcher.c | 2 +- source/firm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/injector/source/patcher.c b/injector/source/patcher.c index 8213db9..1f33ed8 100644 --- a/injector/source/patcher.c +++ b/injector/source/patcher.c @@ -489,7 +489,7 @@ void patchCode(u64 progId, u16 progVer, u8 *code, u32 size) ); } } - + else if(progId == 0x0004013000003702LL && progVer > 0) //RO { static const u8 sigCheckPattern[] = { diff --git a/source/firm.c b/source/firm.c index 0e921d3..b18afd1 100755 --- a/source/firm.c +++ b/source/firm.c @@ -58,7 +58,7 @@ u32 loadFirm(FirmwareType *firmType, FirmwareSource nandType, bool loadFromStora bool mustLoadFromStorage = false; - if(!ISN3DS && *firmType == NATIVE_FIRM) + if(!ISN3DS && *firmType == NATIVE_FIRM && !ISDEVUNIT) { if(firmVersion < 0x18) {