mirror of
https://github.com/DarkStore-3DS/Project_CTR.git
synced 2026-07-04 08:49:03 +00:00
makerom: fixes
Moved away from ctrtool's polarssl api completely. Brought certs.c/h inline with code style, fixed bugs relating to tmd savedata field generation and not recording savedata size from rsf (ncsd.c)
This commit is contained in:
+1
-1
@@ -467,7 +467,7 @@ void GenIvfcHashTree(romfs_buildctx *ctx)
|
||||
for(u32 j = 0; j < numHashes; j++){
|
||||
u8 *datapos = (u8*)(ctx->level[i+1].pos + ROMFS_BLOCK_SIZE * j);
|
||||
u8 *hashpos = (u8*)(ctx->level[i].pos + 0x20 * j);
|
||||
ctr_sha(datapos, ROMFS_BLOCK_SIZE, hashpos, CTR_SHA_256);
|
||||
ShaCalc(datapos, ROMFS_BLOCK_SIZE, hashpos, CTR_SHA_256);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user