mirror of
https://github.com/lifegpc/GARbro.git
synced 2026-06-06 05:28:49 +08:00
(RPA): size might be represented by long integer.
This commit is contained in:
@@ -100,7 +100,7 @@ namespace GameRes.Formats.RenPy
|
|||||||
}
|
}
|
||||||
var entry = FormatCatalog.Instance.Create<RpaEntry> (name);
|
var entry = FormatCatalog.Instance.Create<RpaEntry> (name);
|
||||||
entry.Offset = (long)(Convert.ToInt64 (tuple[0]) ^ key);
|
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;
|
entry.Size = entry.UnpackedSize;
|
||||||
if (tuple.Count > 2)
|
if (tuple.Count > 2)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user