mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
[DatFile] Use DatHeader and DatStats
This commit is contained in:
@@ -205,9 +205,9 @@ namespace SabreTools.Library.Dats
|
||||
// If we're updating the DAT, output to the rebuild directory
|
||||
if (updateDat)
|
||||
{
|
||||
_fileName = "fixDAT_" + _fileName;
|
||||
_name = "fixDAT_" + _name;
|
||||
_description = "fixDAT_" + _description;
|
||||
FileName = "fixDAT_" + FileName;
|
||||
Name = "fixDAT_" + Name;
|
||||
Description = "fixDAT_" + Description;
|
||||
WriteToFile(outDir);
|
||||
}
|
||||
|
||||
@@ -351,9 +351,9 @@ namespace SabreTools.Library.Dats
|
||||
// If we're updating the DAT, output to the rebuild directory
|
||||
if (updateDat)
|
||||
{
|
||||
_fileName = "fixDAT_" + _fileName;
|
||||
_name = "fixDAT_" + _name;
|
||||
_description = "fixDAT_" + _description;
|
||||
FileName = "fixDAT_" + FileName;
|
||||
Name = "fixDAT_" + Name;
|
||||
Description = "fixDAT_" + Description;
|
||||
WriteToFile(outDir);
|
||||
}
|
||||
|
||||
@@ -937,9 +937,9 @@ namespace SabreTools.Library.Dats
|
||||
watch.Stop();
|
||||
|
||||
// If there are any entries in the DAT, output to the rebuild directory
|
||||
_fileName = "fixDAT_" + _fileName;
|
||||
_name = "fixDAT_" + _name;
|
||||
_description = "fixDAT_" + _description;
|
||||
FileName = "fixDAT_" + FileName;
|
||||
Name = "fixDAT_" + Name;
|
||||
Description = "fixDAT_" + Description;
|
||||
WriteToFile(null);
|
||||
|
||||
return success;
|
||||
|
||||
Reference in New Issue
Block a user