Rewrite LZ77 decompression as well

This commit is contained in:
BtbN
2019-06-14 21:25:45 +02:00
parent 499952b7e6
commit 7ca1f8489b
5 changed files with 33 additions and 88 deletions

View File

@@ -27,7 +27,7 @@ namespace eAmuseTest
byte[] rawData = data;
if (compress == "lz77")
rawData = LZ77.Decompress(data).ToArray();
rawData = LZ77.Decompress(data);
else if (compress != "none")
throw new ArgumentException("Unsupported compression algorithm");