mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-27 15:44:00 +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…
Reference in New Issue
Block a user