mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-08 06:39:05 +08:00
added LZSS decompression support.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user