dont crash when organizing firmware
This commit is contained in:
parent
4deda7eb91
commit
d5c4787792
|
@ -46,6 +46,7 @@ namespace BizHawk.Client.Common
|
|||
_resolutionDictionary.TryGetValue(record, out resolved);
|
||||
|
||||
// couldnt find it! do a scan and resolve to try harder
|
||||
// NOTE: this could result in bad performance in some cases if the scanning happens repeatedly..
|
||||
if (resolved == null && first)
|
||||
{
|
||||
DoScanAndResolve();
|
||||
|
|
|
@ -264,6 +264,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
foreach (var fr in FirmwareDatabase.FirmwareRecords)
|
||||
{
|
||||
var ri = Manager.Resolve(fr);
|
||||
if (ri == null) continue;
|
||||
if (ri.KnownFirmwareFile == null) continue;
|
||||
if (ri.UserSpecified) continue;
|
||||
|
||||
|
|
Loading…
Reference in New Issue