mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-23 11:24:14 +08:00
(Seraph): order known schemes by offset.
This commit is contained in:
parent
2f1ff5e838
commit
91f31c05f0
@ -89,7 +89,7 @@ namespace GameRes.Formats.Seraphim
|
||||
if (file.MaxOffset > uint.MaxValue
|
||||
|| !VFS.IsPathEqualsToFileName (file.Name, "ArchPac.dat"))
|
||||
return null;
|
||||
foreach (var scheme in KnownSchemes.Values.Where (s => s.IndexOffset < file.MaxOffset))
|
||||
foreach (var scheme in KnownSchemes.Values.Where (s => s.IndexOffset < file.MaxOffset).OrderBy (s => s.IndexOffset))
|
||||
{
|
||||
var dir = ReadIndex (file, scheme.IndexOffset, file.MaxOffset);
|
||||
if (dir != null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user