From cb90bc81b6812cd5a509af8634e823b453a012bb Mon Sep 17 00:00:00 2001 From: morkt Date: Wed, 25 Jul 2018 10:02:28 +0400 Subject: [PATCH] (FC01): look for accompanying *.sb files in current directiry, too. --- ArcFormats/FC01/ArcPAK.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ArcFormats/FC01/ArcPAK.cs b/ArcFormats/FC01/ArcPAK.cs index 035397ec..72a66c3f 100644 --- a/ArcFormats/FC01/ArcPAK.cs +++ b/ArcFormats/FC01/ArcPAK.cs @@ -166,7 +166,8 @@ namespace GameRes.Formats.FC01 protected IDictionary 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];