From d5dd3943e481cc20c40c8e2f7c9f02d44faff0e0 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Thu, 27 Aug 2020 22:55:56 -0700 Subject: [PATCH] Extras and filters not needed here --- SabreTools.Library/DatFiles/DatFile.cs | 8 +------- SabreTools/Features/Verify.cs | 6 +++--- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/SabreTools.Library/DatFiles/DatFile.cs b/SabreTools.Library/DatFiles/DatFile.cs index fc556c4d..260c955d 100644 --- a/SabreTools.Library/DatFiles/DatFile.cs +++ b/SabreTools.Library/DatFiles/DatFile.cs @@ -2979,16 +2979,12 @@ namespace SabreTools.Library.DatFiles /// True if only hashes should be checked, false for full file information /// True to enable external scanning of archives, false otherwise /// TreatAsFiles representing CHD and Archive scanning - /// ExtraIni object to apply to the DatFile - /// Filter object to be passed to the DatItem level /// True if verification was a success, false otherwise public bool VerifyGeneric( List inputs, bool hashOnly = false, bool quickScan = false, - TreatAsFiles asFiles = 0x00, - ExtraIni extras = null, - Filter filter = null) + TreatAsFiles asFiles = 0x00) { bool success = true; @@ -2998,8 +2994,6 @@ namespace SabreTools.Library.DatFiles { // TODO: All instances of Hash.DeepHashes should be made into 0x0 eventually PopulateFromDir(input, quickScan ? Hash.SecureHashes : Hash.DeepHashes, asFiles: asFiles); - ApplyExtras(extras); - ApplyFilter(filter, false); } // If we are checking hashes only, essentially diff the inputs diff --git a/SabreTools/Features/Verify.cs b/SabreTools/Features/Verify.cs index 545fa60c..afb975bf 100644 --- a/SabreTools/Features/Verify.cs +++ b/SabreTools/Features/Verify.cs @@ -70,7 +70,7 @@ namespace SabreTools.Features if (Header.InputDepot?.IsActive ?? false) datdata.VerifyDepot(Inputs); else - datdata.VerifyGeneric(Inputs, hashOnly, quickScan, asFiles, Extras, Filter); + datdata.VerifyGeneric(Inputs, hashOnly, quickScan, asFiles); // Now write out if there are any items left datdata.Write(OutputDir, stats: true); @@ -100,10 +100,10 @@ namespace SabreTools.Features watch.Stop(); // If we have the depot flag, respect it - if (Header.InputDepot?.IsActive ?? false) + if (Header.InputDepot?.IsActive ?? false)s datdata.VerifyDepot(Inputs); else - datdata.VerifyGeneric(Inputs, hashOnly, quickScan, asFiles, Extras, Filter); + datdata.VerifyGeneric(Inputs, hashOnly, quickScan, asFiles); // Now write out if there are any items left datdata.Write(OutputDir, stats: true);