From d7fd2f26c1ca6cf4d5b2d8c2076e6468acf80ff0 Mon Sep 17 00:00:00 2001 From: Aurora Date: Sat, 12 Nov 2016 02:52:54 +0100 Subject: [PATCH] Revert "Add support for installing retail 0x3D[0] key-encrypted CIAs on dev units" This reverts commit 5adb8749decd5b93a13392570899c2a78681d417. --- source/patches.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/source/patches.c b/source/patches.c index 494cdac..f49c3d4 100644 --- a/source/patches.c +++ b/source/patches.c @@ -276,9 +276,8 @@ u32 patchCheckForDevCommonKey(u8 *pos, u32 size) if(off == NULL) ret = 1; else { - *off = ISDEVUNIT ? 0x2300 : 0x2301; //mov r3, #0 or 1 - //use the dev common key as 1st common key on retail, vice-versa on dev - + *off = 0x2301; //mov r3, #1 + ret = 0; } @@ -755,4 +754,4 @@ u32 patchAgbBootSplash(u8 *pos, u32 size) } return ret; -} +} \ No newline at end of file