From 86cd6c78abaaa1f2aa4bdd64ca3afe47386f9a6c Mon Sep 17 00:00:00 2001 From: KillzXGaming Date: Sat, 1 Oct 2022 17:49:04 -0400 Subject: [PATCH] LZSS : Remove extension check to fix MM3D loading --- Switch_Toolbox_Library/Compression/Formats/LZSS.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Switch_Toolbox_Library/Compression/Formats/LZSS.cs b/Switch_Toolbox_Library/Compression/Formats/LZSS.cs index d2d274e2..4722b2dd 100644 --- a/Switch_Toolbox_Library/Compression/Formats/LZSS.cs +++ b/Switch_Toolbox_Library/Compression/Formats/LZSS.cs @@ -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"); } }