Add support for installing retail 0x3D[0] key-encrypted CIAs on dev units
When "UNITINFO" is enabled
This commit is contained in:
parent
3474faa4a2
commit
5adb8749de
@ -276,8 +276,9 @@ u32 patchCheckForDevCommonKey(u8 *pos, u32 size)
|
||||
if(off == NULL) ret = 1;
|
||||
else
|
||||
{
|
||||
*off = 0x2301; //mov r3, #1
|
||||
|
||||
*off = ISDEVUNIT ? 0x2300 : 0x2301; //mov r3, #0 or 1
|
||||
//use the dev common key as 1st common key on retail, vice-versa on dev
|
||||
|
||||
ret = 0;
|
||||
}
|
||||
|
||||
@ -754,4 +755,4 @@ u32 patchAgbBootSplash(u8 *pos, u32 size)
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user