mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[AttractMode] Fix build
This commit is contained in:
@@ -233,12 +233,12 @@ namespace SabreTools.Library.DatFiles
|
||||
rom.MachineName = rom.MachineName.Substring(1);
|
||||
}
|
||||
|
||||
string state = (!ExcludeFields.Contains(Field.MachineName) ? rom.MachineName : "") + ";"
|
||||
+ (!ExcludeFields.Contains(Field.Description) ? rom.MachineDescription : "") + ";"
|
||||
string state = (!ExcludeFields[(int)Field.MachineName] ? rom.MachineName : "") + ";"
|
||||
+ (!ExcludeFields[(int)Field.Description] ? rom.MachineDescription : "") + ";"
|
||||
+ FileName + ";"
|
||||
+ (!ExcludeFields.Contains(Field.CloneOf) ? rom.CloneOf : "") + ";"
|
||||
+ (!ExcludeFields.Contains(Field.Year) ? rom.Year : "") + ";"
|
||||
+ (!ExcludeFields.Contains(Field.Manufacturer) ? rom.Manufacturer : "") + ";"
|
||||
+ (!ExcludeFields[(int)Field.CloneOf] ? rom.CloneOf : "") + ";"
|
||||
+ (!ExcludeFields[(int)Field.Year] ? rom.Year : "") + ";"
|
||||
+ (!ExcludeFields[(int)Field.Manufacturer] ? rom.Manufacturer : "") + ";"
|
||||
/* + rom.Category */ + ";"
|
||||
/* + rom.Players */ + ";"
|
||||
/* + rom.Rotation */ + ";"
|
||||
@@ -248,7 +248,7 @@ namespace SabreTools.Library.DatFiles
|
||||
/* + rom.DisplayType */ + ";"
|
||||
/* + rom.AltRomname */ + ";"
|
||||
/* + rom.AltTitle */ + ";"
|
||||
+ (!ExcludeFields.Contains(Field.Comment) ? rom.Comment : "") + ";"
|
||||
+ (!ExcludeFields[(int)Field.Comment] ? rom.Comment : "") + ";"
|
||||
/* + rom.Buttons */ + "\n";
|
||||
|
||||
sw.Write(state);
|
||||
|
||||
Reference in New Issue
Block a user