mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(ChainReactionCrypt): fixed full size encryption limit.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user