[DatFile, DatItem] Rename Description to MachineDescription

BiosSet is the only DatItem type that, by default, has a "Description" field and it was overriding the Machine variant. To make things more consistent, I have renamed this one field since, technically speaking, it is a Machine description, not the DatItem one.
This commit is contained in:
Matt Nadareski
2017-10-06 21:21:40 -07:00
parent c9170e6b52
commit dd4dbfb450
8 changed files with 27 additions and 28 deletions

View File

@@ -437,7 +437,7 @@ namespace SabreTools.Library.DatFiles
// Clean the input list and set all games to be pathless
List<DatItem> items = this[key];
items.ForEach(item => item.MachineName = Style.GetFileName(item.MachineName));
items.ForEach(item => item.Description = Style.GetFileName(item.Description));
items.ForEach(item => item.MachineDescription = Style.GetFileName(item.MachineDescription));
// Now add the game to the output DAT
tempDat.AddRange(key, items);