Check magic for checking 3ds ptcl

This commit is contained in:
KillzXGaming 2019-05-04 16:03:49 -04:00
parent 7cec448cd0
commit 4fe9860945
5 changed files with 1 additions and 1 deletions

Binary file not shown.

View file

@ -68,7 +68,7 @@ namespace FirstPlugin
string Signature = reader.ReadString(4, Encoding.ASCII);
byte VersionNum = reader.ReadByte();
if (VersionNum != 0)
if (VersionNum != 0 && Signature == "SPBD")
Is3DS = true;
reader.Position = 0;