mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(ArcOpener.OpenEntry): use LzssStream.
This commit is contained in:
parent
ed5873b9be
commit
e193a4de91
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user