diff --git a/SabreTools.Core/Prepare.cs b/SabreTools.Core/Prepare.cs index 512395ae..7868e92f 100644 --- a/SabreTools.Core/Prepare.cs +++ b/SabreTools.Core/Prepare.cs @@ -12,8 +12,8 @@ namespace SabreTools.Core /// /// The current toolset version to be used by all child applications /// - public readonly static string Version = $"v1.0.7"; - //public readonly static string Version = $"v1.0.7-{File.GetCreationTime(Assembly.GetExecutingAssembly().Location):yyyy-MM-dd HH:mm:ss}"; + //public readonly static string Version = $"v1.0.7"; + public readonly static string Version = $"v1.0.7-{File.GetCreationTime(Assembly.GetExecutingAssembly().Location):yyyy-MM-dd HH:mm:ss}"; /// /// Readies the console and outputs the header diff --git a/SabreTools.Core/Tools/Hasher.cs b/SabreTools.Core/Tools/Hasher.cs index 61deb161..ee68455f 100644 --- a/SabreTools.Core/Tools/Hasher.cs +++ b/SabreTools.Core/Tools/Hasher.cs @@ -88,9 +88,9 @@ namespace SabreTools.Core.Tools } /// - /// Finalize the internal hash algorigthm + /// Terminate the internal hash algorigthm /// - public void Finalize() + public void Terminate() { byte[] emptyBuffer = new byte[0]; switch (HashType) diff --git a/SabreTools.DatFiles/Formats/Hashfile.cs b/SabreTools.DatFiles/Formats/Hashfile.cs index c446fae5..39eafb47 100644 --- a/SabreTools.DatFiles/Formats/Hashfile.cs +++ b/SabreTools.DatFiles/Formats/Hashfile.cs @@ -204,7 +204,6 @@ namespace SabreTools.DatFiles.Formats } // Get the hash field and set final fields - string hash; switch (_hash) { case Hash.CRC: diff --git a/SabreTools.FileTypes/BaseFile.cs b/SabreTools.FileTypes/BaseFile.cs index d85ccc20..00b95c1c 100644 --- a/SabreTools.FileTypes/BaseFile.cs +++ b/SabreTools.FileTypes/BaseFile.cs @@ -399,7 +399,7 @@ namespace SabreTools.FileTypes // Finalize all hashing helpers loadBuffer.Finish(); - Parallel.ForEach(hashers, Globals.ParallelOptions, h => h.Finalize()); + Parallel.ForEach(hashers, Globals.ParallelOptions, h => h.Terminate()); // Get the results BaseFile baseFile = new BaseFile() diff --git a/SabreTools.Filtering/DatHeaderFilter.cs b/SabreTools.Filtering/DatHeaderFilter.cs index b242df24..328c90e3 100644 --- a/SabreTools.Filtering/DatHeaderFilter.cs +++ b/SabreTools.Filtering/DatHeaderFilter.cs @@ -47,10 +47,7 @@ namespace SabreTools.Filtering /// True if negative filter, false otherwise public void SetFilter(DatHeaderField key, string value, bool negate) { - switch (key) - { - // TODO: Add DatHeader filters - } + // TODO: Add DatHeader filters } #endregion