1
0
mirror of synced 2024-11-27 17:00:50 +01:00

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");
}
}