mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-03 00:39:14 +00:00
Fixed array transfer bug.
This commit is contained in:
+2
-2
@@ -155,7 +155,7 @@ int GetSettingsFromUsrset(cia_settings *ciaset, user_settings *usrset)
|
||||
ciaset->ciaSections.content.buffer = usrset->common.workingFile.buffer;
|
||||
ciaset->ciaSections.content.size = usrset->common.workingFile.size;
|
||||
usrset->common.workingFile.buffer = NULL;
|
||||
ciaset->ciaSections.content.size = 0;
|
||||
usrset->common.workingFile.size = 0;
|
||||
ciaset->content.includeUpdateNcch = usrset->cia.includeUpdateNcch;
|
||||
ciaset->verbose = usrset->common.verbose;
|
||||
|
||||
@@ -473,7 +473,7 @@ int GetSettingsFromSrl(cia_settings *ciaset)
|
||||
fprintf(stderr,"[CIA ERROR] Invalid TWL SRL File\n");
|
||||
return FAILED_TO_IMPORT_FILE;
|
||||
}
|
||||
|
||||
|
||||
// Check if TWL SRL File
|
||||
if(u8_to_u16(&hdr->title_id[6],LE) != 0x0003){
|
||||
fprintf(stderr,"[CIA ERROR] Invalid TWL SRL File\n");
|
||||
|
||||
Reference in New Issue
Block a user