(LIN2): fixed decompression.

This commit is contained in:
morkt 2016-10-23 16:10:07 +04:00
parent ab87c63ff5
commit 1876bfb02b

View File

@ -98,7 +98,7 @@ namespace GameRes.Formats.Kaguya
int dst = 0; int dst = 0;
int ctl = 0; int ctl = 0;
int bit = 0; int bit = 0;
int prev_count = 0x100; int prev_count = -1;
while (dst < output.Length) while (dst < output.Length)
{ {
bit >>= 1; bit >>= 1;