Fixed bug

This commit is contained in:
Perfare 2018-12-05 23:16:02 +08:00
parent ae155ca603
commit 324c5ec7a2
1 changed files with 1 additions and 1 deletions

View File

@ -707,7 +707,7 @@ namespace AssetStudio
}
}
if (reader.endian == EndianType.BigEndian) //swap bytes
if (reader.endian == EndianType.BigEndian && componentByteSize > 1) //swap bytes
{
for (var i = 0; i < componentBytes.Length / componentByteSize; i++)
{