mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Create a more extensible system for DAT creation for future additions
This commit is contained in:
@@ -225,7 +225,18 @@ namespace SabreTools
|
||||
}
|
||||
|
||||
// Then write out the file
|
||||
Output.WriteToDatFromDict(name, description, "", date, "SabreTools", "SabreTools", false, _old, true, _outroot, roms, _logger, _norename);
|
||||
DatData datdata = new DatData
|
||||
{
|
||||
Name = name,
|
||||
Description = description,
|
||||
Version = "",
|
||||
Date = date,
|
||||
Category = "SabreTools",
|
||||
Author = "SabreTools",
|
||||
ForcePacking = ForcePacking.None,
|
||||
OutputFormat = (_old ? OutputFormat.ClrMamePro : OutputFormat.Xml),
|
||||
};
|
||||
Output.WriteToDatFromDict(datdata, true, _outroot, roms, _logger, _norename);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user