mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-24 03:44:13 +08:00
(YPF): lookup game in parent directory, too.
This commit is contained in:
parent
92169e0408
commit
a81055f74d
@ -178,6 +178,8 @@ namespace GameRes.Formats.YuRis
|
||||
YpfScheme QueryEncryptionScheme (string arc_name, uint version)
|
||||
{
|
||||
var title = FormatCatalog.Instance.LookupGame (arc_name);
|
||||
if (string.IsNullOrEmpty (title))
|
||||
title = FormatCatalog.Instance.LookupGame (arc_name, @"..\*.exe");
|
||||
YpfScheme scheme;
|
||||
if (!string.IsNullOrEmpty (title) && KnownSchemes.TryGetValue (title, out scheme))
|
||||
return scheme;
|
||||
|
Loading…
x
Reference in New Issue
Block a user