(Unity): compression method 2 is LZ4 as well.

This commit is contained in:
poddav
2022-04-29 13:21:27 +04:00
parent 9fb61e1e76
commit 051537348a
2 changed files with 2 additions and 1 deletions

View File

@@ -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);