mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 07:34:00 +08:00
(Xp3Opener): entry considered encrypted if cipher isn't "NoCrypt".
This commit is contained in:
parent
4df7576563
commit
0b89f83742
@ -201,7 +201,7 @@ namespace GameRes.Formats.KiriKiri
|
||||
entry.Cipher = crypt_algorithm.Value;
|
||||
else
|
||||
entry.Cipher = NoCryptAlgorithm;
|
||||
entry.IsEncrypted = entry.Cipher != NoCryptAlgorithm;
|
||||
entry.IsEncrypted = !(entry.Cipher is NoCrypt);
|
||||
|
||||
var name = new string (header.ReadChars (name_size));
|
||||
if (entry.Cipher.ObfuscatedIndex && ObfuscatedPathRe.IsMatch (name))
|
||||
|
Loading…
Reference in New Issue
Block a user