mirror of
https://github.com/crskycode/GARbro.git
synced 2025-01-11 20:39:29 +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");
|
var title = FormatCatalog.Instance.LookupGame (file.Name, @"..\*.exe");
|
||||||
byte[] key = null;
|
byte[] key = null;
|
||||||
if (!string.IsNullOrEmpty (title))
|
if (!string.IsNullOrEmpty (title) && KnownKeys.ContainsKey (title))
|
||||||
key = GetKeyData (title);
|
return KnownKeys[title];
|
||||||
if (null == key)
|
if (null == key)
|
||||||
key = GuessKeyData (file.Name);
|
key = GuessKeyData (file.Name);
|
||||||
if (null == key)
|
if (null == key)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user