Old NATIVE_FIRMs do not have injectable modules

This commit is contained in:
Aurora 2016-09-02 14:47:20 +02:00
parent ca0a79fc89
commit 62a70cfdac

View File

@ -458,9 +458,8 @@ static inline void copySection0AndInjectSystemModules(FirmwareType firmType)
static inline void launchFirm(FirmwareType firmType) static inline void launchFirm(FirmwareType firmType)
{ {
//If we're booting NATIVE_FIRM, section0 needs to be copied separately to inject 3ds_injector
u32 sectionNum; u32 sectionNum;
if(firmType != SAFE_FIRM) if(firmType != SAFE_FIRM && firmType != NATIVE_FIRM1X2X)
{ {
copySection0AndInjectSystemModules(firmType); copySection0AndInjectSystemModules(firmType);
sectionNum = 1; sectionNum = 1;