mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-28 05:44:12 +08:00
(FC01): look for accompanying *.sb files in current directiry, too.
This commit is contained in:
parent
342fcad9b5
commit
cb90bc81b6
@ -166,7 +166,8 @@ namespace GameRes.Formats.FC01
|
||||
|
||||
protected IDictionary<string, byte[]> QueryScheme (ArcView file)
|
||||
{
|
||||
var title = FormatCatalog.Instance.LookupGame (file.Name, @"..\*.sb");
|
||||
var title = FormatCatalog.Instance.LookupGame (file.Name, "*.sb")
|
||||
?? FormatCatalog.Instance.LookupGame (file.Name, @"..\*.sb");
|
||||
if (string.IsNullOrEmpty (title) || !KnownSchemes.ContainsKey (title))
|
||||
return null;
|
||||
return KnownSchemes[title];
|
||||
|
Loading…
x
Reference in New Issue
Block a user