[RomManipulation] Fix disk parsing in CMP DATs

This commit is contained in:
Matt Nadareski
2016-05-30 12:05:54 -07:00
parent 682dba5290
commit f2d51558bc

View File

@@ -277,6 +277,12 @@ namespace SabreTools.Helper
}
}
// If we have a disk, make sure that the value for size is -1
if (rom.Type == "disk")
{
rom.Size = -1;
}
// Now add the rom to the dictionary
string key = rom.Size + "-" + rom.CRC;
if (datdata.Roms.ContainsKey(key))