mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 20:04:13 +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>
|
||||
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