fix #3095
This commit is contained in:
parent
278ba086a3
commit
a91b861a4d
|
@ -208,10 +208,11 @@ namespace BizHawk.Client.Common
|
|||
{
|
||||
ri.KnownFirmwareFile = ff;
|
||||
|
||||
// if the known firmware file is for a different firmware, flag it so we can show a warning
|
||||
if (FirmwareDatabase.FirmwareOptions.Any(fo => fo.Hash == rff.Hash && fo.ID != fr.ID))
|
||||
// assume the firmware file is for a different firmware, unflag it in case it isn't
|
||||
ri.KnownMismatching = true;
|
||||
if (FirmwareDatabase.FirmwareOptions.Any(fo => fo.Hash == rff.Hash && fo.ID == fr.ID))
|
||||
{
|
||||
ri.KnownMismatching = true;
|
||||
ri.KnownMismatching = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue