mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-12-06 03:07:20 +00:00
fixed ptr misalignment
This commit is contained in:
1 parent
1858c055c2
commit
a6c4112ee1
1 file changed
+1
-1
+1
-1
@@ -443,7 +443,7 @@ int ImportNcchContent(cia_settings *ciaset)
|
||||
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++){
|
||||
// Import
|
||||
u8 *ncchpos = (u8*)(ciaset->ciaSections.content.buffer+ciaset->content.offset[i]);
|
||||
|
||||
Reference in new issue
Block a user