mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 15:44:00 +08:00
added LZSS decompression support.
This commit is contained in:
parent
87ec61587f
commit
31ec7d240d
@ -119,7 +119,12 @@ namespace GameRes.Formats.NeXAS
|
||||
switch (pac.PackType)
|
||||
{
|
||||
case Compression.Lzss:
|
||||
return input; // LZSS compression not implemented
|
||||
using (input)
|
||||
using (var reader = new LzssReader (input, (int)entry.Size, (int)entry.UnpackedSize))
|
||||
{
|
||||
reader.Unpack();
|
||||
return new MemoryStream (reader.Data, false);
|
||||
}
|
||||
case Compression.Huffman:
|
||||
using (input)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user