mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-12 21:03:55 +08:00
(ChainReactionCrypt): fixed full size encryption limit.
This commit is contained in:
parent
0d3950bd50
commit
d6c2cd097e
@ -246,7 +246,7 @@ namespace GameRes.Formats.KiriKiri
|
||||
case 0: return 0;
|
||||
case 1: return 0x100;
|
||||
case 2: return 0x200;
|
||||
case 3: return entry.Size;
|
||||
case 3: return entry.UnpackedSize;
|
||||
default: return limit;
|
||||
}
|
||||
}
|
||||
@ -266,7 +266,7 @@ namespace GameRes.Formats.KiriKiri
|
||||
switch (limit)
|
||||
{
|
||||
case 0: return 0;
|
||||
case 2: return entry.Size;
|
||||
case 2: return entry.UnpackedSize;
|
||||
default: return 0x100;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user