mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-05-25 05:40:21 -04:00
Fixed bug
This commit is contained in:
parent
80653711cd
commit
3370f93037
@ -109,7 +109,7 @@ namespace AssetStudio
|
||||
{
|
||||
var buff = ReadBytes(8);
|
||||
Array.Reverse(buff);
|
||||
return BitConverter.ToUInt64(buff, 0);
|
||||
return BitConverter.ToDouble(buff, 0);
|
||||
}
|
||||
return base.ReadDouble();
|
||||
}
|
||||
|
@ -203,7 +203,7 @@ namespace AssetStudio
|
||||
{
|
||||
if (platform == BuildTarget.XBOX360)
|
||||
{
|
||||
for (var i = 0; i < image_data.Length / 2; i++)
|
||||
for (var i = 0; i < reader.Size / 2; i++)
|
||||
{
|
||||
var b = image_data[i * 2];
|
||||
image_data[i * 2] = image_data[i * 2 + 1];
|
||||
|
Loading…
Reference in New Issue
Block a user