Fix NCA2 decryption bug

This commit is contained in:
Alex Barney 2019-06-21 15:41:38 -05:00
parent 89525c5eaa
commit abad1ee666

View file

@ -217,7 +217,7 @@ namespace LibHac.Fs.NcaUtils
{
for (int i = 0x400; i < HeaderSize; i += HeaderSectorSize)
{
transform.TransformBlock(buf, i, HeaderSectorSize, 1);
transform.TransformBlock(buf, i, HeaderSectorSize, 0);
}
}
else