Fixes to how firmware is added and loaded from movies

This commit is contained in:
adelikat 2015-02-26 21:58:44 +00:00
parent 7624a92021
commit dd28c386de
2 changed files with 5 additions and 2 deletions

View File

@ -60,7 +60,10 @@ namespace BizHawk.Client.Common
if (pair.Length > 1)
{
Header.Add(pair[0], pair[1]);
if (!Header.ContainsKey(pair[0]))
{
Header.Add(pair[0], pair[1]);
}
}
}
}

View File

@ -226,7 +226,7 @@ namespace BizHawk.Client.Common.MovieConversionExtensions
{
foreach (var firmware in Global.FirmwareManager.RecentlyServed)
{
var key = firmware.SystemId + " Firmware " + firmware.FirmwareId;
var key = firmware.SystemId + "_Firmware_" + firmware.FirmwareId;
if (!movie.HeaderEntries.ContainsKey(key))
{