mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(QLIE): allow null values in KnownKeys.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user