mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Make Machine a struct for memory usage
This commit is contained in:
@@ -435,8 +435,8 @@ namespace SabreTools.Library.Dats
|
||||
|
||||
// Clean the input list and set all games to be pathless
|
||||
List<DatItem> items = this[key];
|
||||
items.ForEach(item => item.Machine.Name = Style.GetFileName(item.Machine.Name));
|
||||
items.ForEach(item => item.Machine.Description = Style.GetFileName(item.Machine.Description));
|
||||
items.ForEach(item => item.Machine.UpdateName(Style.GetFileName(item.Machine.Name)));
|
||||
items.ForEach(item => item.Machine.UpdateDescription(Style.GetFileName(item.Machine.Description)));
|
||||
|
||||
// Now add the game to the output DAT
|
||||
tempDat.AddRange(key, items);
|
||||
|
||||
Reference in New Issue
Block a user