improved
This commit is contained in:
@@ -595,7 +595,7 @@ namespace AssetStudio
|
||||
}
|
||||
}
|
||||
|
||||
if (preloadData.sourceFile.platform == 11 && componentByteSize > 1) //swap bytes for Xbox
|
||||
if (preloadData.sourceFile.m_TargetPlatform == BuildTarget.XBOX360 && componentByteSize > 1) //swap bytes for Xbox
|
||||
{
|
||||
for (var i = 0; i < componentBytes.Length / componentByteSize; i++)
|
||||
{
|
||||
@@ -704,7 +704,7 @@ namespace AssetStudio
|
||||
}
|
||||
}
|
||||
|
||||
if (preloadData.sourceFile.platform == 11 && componentByteSize > 1) //swap bytes for Xbox
|
||||
if (preloadData.sourceFile.m_TargetPlatform == BuildTarget.XBOX360 && componentByteSize > 1) //swap bytes for Xbox
|
||||
{
|
||||
for (var i = 0; i < componentBytes.Length / componentByteSize; i++)
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace AssetStudio
|
||||
reader = preloadData.InitReader();
|
||||
version = sourceFile.version;
|
||||
buildType = sourceFile.buildType;
|
||||
platform = (BuildTarget)sourceFile.platform;
|
||||
platform = sourceFile.m_TargetPlatform;
|
||||
|
||||
if (platform == BuildTarget.NoTarget)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user