mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user