mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-05 16:59:02 +00:00
fixed ptr misalignment
This commit is contained in:
+1
-1
@@ -443,7 +443,7 @@ int ImportNcchContent(cia_settings *ciaset)
|
|||||||
return MEM_ERROR;
|
return MEM_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
ncch_hdr *ncch0hdr = (ncch_hdr*)(ciaset->ciaSections.content.buffer+0x100);
|
ncch_hdr *ncch0hdr = (ncch_hdr*)ciaset->ciaSections.content.buffer;
|
||||||
for(int i = 1; i < ciaset->content.count; i++){
|
for(int i = 1; i < ciaset->content.count; i++){
|
||||||
// Import
|
// Import
|
||||||
u8 *ncchpos = (u8*)(ciaset->ciaSections.content.buffer+ciaset->content.offset[i]);
|
u8 *ncchpos = (u8*)(ciaset->ciaSections.content.buffer+ciaset->content.offset[i]);
|
||||||
|
|||||||
Reference in New Issue
Block a user