mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(FC01): look for accompanying *.sb files in current directiry, too.
This commit is contained in:
@@ -166,7 +166,8 @@ namespace GameRes.Formats.FC01
|
|||||||
|
|
||||||
protected IDictionary<string, byte[]> QueryScheme (ArcView file)
|
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))
|
if (string.IsNullOrEmpty (title) || !KnownSchemes.ContainsKey (title))
|
||||||
return null;
|
return null;
|
||||||
return KnownSchemes[title];
|
return KnownSchemes[title];
|
||||||
|
|||||||
Reference in New Issue
Block a user