mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 07:34:00 +08:00
(HighRunningCrypt): override Encrypt method.
This commit is contained in:
parent
b7a621722c
commit
375bc352b0
@ -870,5 +870,10 @@ namespace GameRes.Formats.KiriKiri
|
||||
byte key = (byte)entry.Hash;
|
||||
return key != 0 && offset % key != 0 ? (byte)(value ^ key) : value;
|
||||
}
|
||||
|
||||
public override void Encrypt (Xp3Entry entry, long offset, byte[] data, int pos, int count)
|
||||
{
|
||||
Decrypt (entry, offset, data, pos, count);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user