(XP3): lookup game files in parent directory.

This commit is contained in:
morkt 2018-02-16 19:33:33 +04:00
parent e09d5ae5df
commit 34fce4538a

View File

@ -661,6 +661,8 @@ NextEntry:
ICrypt GuessCryptAlgorithm (ArcView file)
{
var title = FormatCatalog.Instance.LookupGame (file.Name);
if (string.IsNullOrEmpty (title))
title = FormatCatalog.Instance.LookupGame (file.Name, @"..\*.exe");
if (string.IsNullOrEmpty (title))
return null;
ICrypt algorithm;