mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(Crc16): class moved to separate file.
This commit is contained in:
@@ -891,7 +891,7 @@ namespace GameRes.Formats.ShiinaRio
|
||||
|
||||
void Crc16Crypt (byte[] data, int index, int length)
|
||||
{
|
||||
var crc16 = new Kogado.Crc16();
|
||||
var crc16 = new Crc16();
|
||||
crc16.Update (data, index, length & 0x7E | 1);
|
||||
var sum = crc16.Value ^ 0xFFFF;
|
||||
data[index + 0x104] ^= (byte)sum;
|
||||
|
||||
Reference in New Issue
Block a user