diff --git a/ArcFormats/ArcAdvCls.cs b/ArcFormats/ArcAdvCls.cs index 5ec0478b..4fb4cca0 100644 --- a/ArcFormats/ArcAdvCls.cs +++ b/ArcFormats/ArcAdvCls.cs @@ -89,12 +89,7 @@ namespace GameRes.Formats.AdvCls var packed = entry as PackedEntry; if (null == packed || !packed.IsPacked) return input; - using (input) - using (var reader = new LzssReader (input, (int)packed.Size, (int)packed.UnpackedSize)) - { - reader.Unpack(); - return new MemoryStream (reader.Data); - } + return new LzssStream (input); } private void DecryptIndex (byte[] data, string key)