LZSS : Remove extension check to fix MM3D loading

This commit is contained in:
KillzXGaming 2022-10-01 17:49:04 -04:00 committed by GitHub
parent 080024fc5c
commit 86cd6c78ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,8 +22,7 @@ namespace Toolbox.Library
{
using (var reader = new FileReader(stream, true))
{
hasMagic = reader.CheckSignature(4, "LzS\x01");
return hasMagic || Utils.GetExtension(fileName) == ".lzs";
return reader.CheckSignature(4, "LzS\x01");
}
}