mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44: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;
|
||||
byte key3 = (byte)(ret.Item1);
|
||||
if (key1 == key2)
|
||||
key2 = (key2+1) & 0xffff;
|
||||
key2 += 1;
|
||||
if (0 == key3)
|
||||
key3 = 1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user