mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-10 07:04:36 +00:00
GFMDL : Another adjustment to fix some version checks.
This commit is contained in:
parent
5c65cef106
commit
e5ec3bafc1
1 changed files with 2 additions and 2 deletions
|
@ -167,7 +167,7 @@ namespace FirstPlugin
|
|||
Version = reader.ReadUInt32();
|
||||
Boundings = reader.ReadSingles(9);
|
||||
|
||||
//Temp check for valid bone header size (does not vary sizes, always 26)
|
||||
//Temp check for valid bone header size
|
||||
using (reader.TemporarySeek(72, SeekOrigin.Begin))
|
||||
{
|
||||
long boneData = reader.ReadOffset(true, typeof(uint));
|
||||
|
@ -180,7 +180,7 @@ namespace FirstPlugin
|
|||
{
|
||||
reader.SeekBegin(offset);
|
||||
uint infoOffset = reader.ReadUInt32();
|
||||
if (infoOffset == 26)
|
||||
if (infoOffset == 26 || infoOffset == 24)
|
||||
IsV2 = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue