[DatFile, DatItem] Proper cloning of machines to avoid dupe issues

This commit is contained in:
Matt Nadareski
2017-10-06 16:33:05 -07:00
parent ca2d863227
commit ae01adfc6e
10 changed files with 31 additions and 31 deletions

View File

@@ -777,7 +777,7 @@ namespace SabreTools.Library.Dats
foreach (Rom item in dupes)
{
// Create a headered item to use as well
rom.Machine = item.Machine;
rom.Machine = (Machine)item.Machine.Clone();
rom.Name += "_" + rom.CRC;
// If either copy succeeds, then we want to set rebuilt to true