mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-11 12:39:16 +08:00
(QLIE): allow null values in KnownKeys.
This commit is contained in:
parent
e50d3af3d9
commit
84e77b54f6
@ -292,8 +292,8 @@ namespace GameRes.Formats.Qlie
|
||||
{
|
||||
var title = FormatCatalog.Instance.LookupGame (file.Name, @"..\*.exe");
|
||||
byte[] key = null;
|
||||
if (!string.IsNullOrEmpty (title))
|
||||
key = GetKeyData (title);
|
||||
if (!string.IsNullOrEmpty (title) && KnownKeys.ContainsKey (title))
|
||||
return KnownKeys[title];
|
||||
if (null == key)
|
||||
key = GuessKeyData (file.Name);
|
||||
if (null == key)
|
||||
|
Loading…
x
Reference in New Issue
Block a user