mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[ARC] Implement support for compression methods 5, 6 and 7 (crunch).
This commit is contained in:
@@ -28,7 +28,7 @@ public partial class PackStream : Stream
|
||||
// Call native decompressor
|
||||
int err = arc_decompress_pack(inBuf, inBuf.Length, _decoded, ref outLen);
|
||||
|
||||
if(err != 0) throw new InvalidOperationException("LH5 decompression failed");
|
||||
if(err != 0) throw new InvalidOperationException("Pack decompression failed");
|
||||
|
||||
// Adjust actual length in case it differs
|
||||
_length = outLen;
|
||||
|
||||
Reference in New Issue
Block a user