[DatTools] Allow filtering of merged data

This commit is contained in:
Matt Nadareski
2016-06-20 15:28:15 -07:00
parent a4a089f228
commit 8430b8de59
2 changed files with 10 additions and 17 deletions

View File

@@ -1606,6 +1606,9 @@ namespace SabreTools.Helper
Dat userData;
List<Dat> datHeaders = PopulateUserData(inputFileNames, inplace, clean, outputDirectory, datdata, out userData, logger);
// If we want to filter, apply it to the userData now
userData = Filter(userData, gamename, romname, romtype, sgt, slt, seq, crc, md5, sha1, nodump, logger);
// Modify the Dictionary if necessary and output the results
if (diff && !cascade)
{