mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(WARC): support archives versions 1.40 and 1.20
This commit is contained in:
@@ -141,9 +141,9 @@ namespace GameRes.Formats.ShiinaRio
|
||||
uint effective_length = Math.Min (data_length, 1024u);
|
||||
int a, b;
|
||||
uint fac = 0;
|
||||
Rand = data_length;
|
||||
if (WarcVersion > 120)
|
||||
{
|
||||
Rand = data_length;
|
||||
a = (sbyte)data[index] ^ (sbyte)data_length;
|
||||
b = (sbyte)data[index+1] ^ (sbyte)(data_length / 2);
|
||||
if (data_length != MaxIndexLength)
|
||||
|
||||
Reference in New Issue
Block a user