(RPA): size might be represented by long integer.

This commit is contained in:
morkt 2018-10-07 08:58:06 +04:00
parent bf94ae9a62
commit 4b67d5f82d

View File

@ -100,7 +100,7 @@ namespace GameRes.Formats.RenPy
}
var entry = FormatCatalog.Instance.Create<RpaEntry> (name);
entry.Offset = (long)(Convert.ToInt64 (tuple[0]) ^ key);
entry.UnpackedSize = (uint)(Convert.ToInt32 (tuple[1]) ^ key);
entry.UnpackedSize = (uint)(Convert.ToInt64 (tuple[1]) ^ key);
entry.Size = entry.UnpackedSize;
if (tuple.Count > 2)
{