mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 19:34:15 +08:00
Merge pull request #45 from MkfsSion/yanefix
ArcFormats: Fix TryOpen() for YaneSDK .dat archive
This commit is contained in:
commit
3120d9477b
@ -70,7 +70,7 @@ namespace GameRes.Formats.YaneSDK
|
||||
entry.EncryptedSize = index.ReadUInt16();
|
||||
entry.Size = index.ReadUInt32();
|
||||
entry.Offset = index.ReadUInt32();
|
||||
if (!entry.CheckPlacement (file.MaxOffset) || entry.Offset <= data_offset)
|
||||
if (!entry.CheckPlacement (file.MaxOffset) || entry.Offset < data_offset)
|
||||
return null;
|
||||
dir.Add (entry);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user