mirror of
https://github.com/aelurum/AssetStudio.git
synced 2025-12-16 11:42:47 -05:00
Fixed some bugs
This commit is contained in:
@ -273,9 +273,13 @@ namespace Unity_Studio
|
||||
private void readBase5()
|
||||
{
|
||||
int classID = a_Stream.ReadInt32();
|
||||
if (classID < 0) { a_Stream.Position += 16; }
|
||||
if (fileGen > 15)
|
||||
{
|
||||
if (classID == 0)//TODO 暂时用这种方法解决
|
||||
{
|
||||
a_Stream.Position += 12;
|
||||
classID = a_Stream.ReadInt32();
|
||||
}
|
||||
a_Stream.ReadByte();
|
||||
int type1;
|
||||
if ((type1 = a_Stream.ReadInt16()) >= 0)
|
||||
@ -290,6 +294,10 @@ namespace Unity_Studio
|
||||
classIDs.Add(new int[] { type1, classID });
|
||||
classID = type1;
|
||||
}
|
||||
else if (classID < 0)
|
||||
{
|
||||
a_Stream.Position += 16;
|
||||
}
|
||||
a_Stream.Position += 16;
|
||||
|
||||
if (baseDefinitions)
|
||||
|
||||
Reference in New Issue
Block a user