mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-25 04:14:13 +08:00
fixed CX decryptor.
apparently chances for this branch to happen are roughly 1 to 100000, and i was lucky.
This commit is contained in:
parent
2b0fac06f9
commit
127cb37914
@ -188,7 +188,7 @@ namespace GameRes.Formats.KiriKiri
|
|||||||
uint key2 = ret.Item2 & 0xffff;
|
uint key2 = ret.Item2 & 0xffff;
|
||||||
byte key3 = (byte)(ret.Item1);
|
byte key3 = (byte)(ret.Item1);
|
||||||
if (key1 == key2)
|
if (key1 == key2)
|
||||||
key2 = (key2+1) & 0xffff;
|
key2 += 1;
|
||||||
if (0 == key3)
|
if (0 == key3)
|
||||||
key3 = 1;
|
key3 = 1;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user