mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-12 04:49:32 +08:00
relaxed entry placement check.
archives with external index and single entry didn't pass check.
This commit is contained in:
parent
2f7706f228
commit
b38e3a0601
@ -51,7 +51,7 @@ namespace GameRes
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public bool CheckPlacement (long max_offset)
|
public bool CheckPlacement (long max_offset)
|
||||||
{
|
{
|
||||||
return Offset < max_offset && Size < max_offset && Offset <= max_offset - Size;
|
return Offset < max_offset && Size <= max_offset && Offset <= max_offset - Size;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user