(ChainReactionCrypt): fixed full size encryption limit.

This commit is contained in:
morkt 2018-05-07 00:21:48 +04:00
parent 0d3950bd50
commit d6c2cd097e

View File

@ -246,7 +246,7 @@ namespace GameRes.Formats.KiriKiri
case 0: return 0; case 0: return 0;
case 1: return 0x100; case 1: return 0x100;
case 2: return 0x200; case 2: return 0x200;
case 3: return entry.Size; case 3: return entry.UnpackedSize;
default: return limit; default: return limit;
} }
} }
@ -266,7 +266,7 @@ namespace GameRes.Formats.KiriKiri
switch (limit) switch (limit)
{ {
case 0: return 0; case 0: return 0;
case 2: return entry.Size; case 2: return entry.UnpackedSize;
default: return 0x100; default: return 0x100;
} }
} }