mirror of
https://github.com/lifegpc/GARbro.git
synced 2026-06-18 00:45:06 +08:00
(Unity): compression method 2 is LZ4 as well.
This commit is contained in:
@@ -87,6 +87,7 @@ namespace GameRes.Formats.Unity
|
||||
case 1:
|
||||
index_data = UnpackLzma (packed, index_size);
|
||||
break;
|
||||
case 2:
|
||||
case 3:
|
||||
index_data = new byte[index_size];
|
||||
Lz4Compressor.DecompressBlock (packed, packed.Length, index_data, index_data.Length);
|
||||
|
||||
Reference in New Issue
Block a user