mirror of
https://github.com/Thealexbarney/LibHac.git
synced 2024-11-14 10:49:41 +01:00
Fix NCA2 decryption bug
This commit is contained in:
parent
89525c5eaa
commit
abad1ee666
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ namespace LibHac.Fs.NcaUtils
|
||||||
{
|
{
|
||||||
for (int i = 0x400; i < HeaderSize; i += HeaderSectorSize)
|
for (int i = 0x400; i < HeaderSize; i += HeaderSectorSize)
|
||||||
{
|
{
|
||||||
transform.TransformBlock(buf, i, HeaderSectorSize, 1);
|
transform.TransformBlock(buf, i, HeaderSectorSize, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue