mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Wipe the romof/cloneof tags from merged output
This commit is contained in:
@@ -642,9 +642,21 @@ namespace SabreTools.Helper.Dats
|
||||
}
|
||||
}
|
||||
|
||||
// Finally, remove the old game so it's not picked up by the writer
|
||||
// Then, remove the old game so it's not picked up by the writer
|
||||
Remove(game);
|
||||
}
|
||||
|
||||
// Finally, remove the romof and cloneof tags so it's not picked up by the manager
|
||||
games = Keys.ToList();
|
||||
foreach (string game in games)
|
||||
{
|
||||
List<DatItem> items = this[game];
|
||||
foreach (DatItem item in items)
|
||||
{
|
||||
item.Machine.CloneOf = null;
|
||||
item.Machine.RomOf = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -863,7 +875,7 @@ namespace SabreTools.Helper.Dats
|
||||
item.Machine.CloneOf = null;
|
||||
item.Machine.RomOf = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user