mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-07-23 12:04:16 -04:00
Fixed bug
This commit is contained in:
@ -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++)
|
for (var i = 0; i < componentBytes.Length / componentByteSize; i++)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user