Improve AFS2 type 2 support

This commit is contained in:
Skyth 2018-10-11 11:40:29 +03:00
parent 39815c4c8a
commit 9ffd72adc1

View File

@ -62,7 +62,7 @@ namespace SonicAudioLib.Archives
uint positionFieldLength = (information >> 8) & 0xFF;
uint entryCount = DataStream.ReadUInt32(source);
Align = DataStream.ReadUInt32(source);
Align = DataStream.ReadUInt32(source) & 0xFFFF;
CriAfs2Entry previousEntry = null;
for (uint i = 0; i < entryCount; i++)