Fix key issue in parsing

This commit is contained in:
Matt Nadareski
2016-05-28 15:13:28 -07:00
parent f6e274d13f
commit 1233acb735

View File

@@ -272,7 +272,7 @@ namespace SabreTools.Helper
}
// Now add the rom to the dictionary
string key = rom.CRC + "-" + rom.Size;
string key = rom.Size + "-" + rom.CRC;
if (datdata.Roms.ContainsKey(key))
{
datdata.Roms[key].Add(rom);
@@ -502,7 +502,7 @@ namespace SabreTools.Helper
};
// Add the new rom
string key = rom.CRC + "-" + rom.Size;
string key = rom.Size + "-" + rom.CRC;
if (datdata.Roms.ContainsKey(key))
{
datdata.Roms[key].Add(rom);