take a stab at re-adding the purported "add ability to resume disc hashing when interrupted" half of which was lost during a merge

This commit is contained in:
zeromus 2015-07-12 14:08:55 -05:00
parent de699656d6
commit 0d2e80b625
1 changed files with 8 additions and 0 deletions

View File

@ -59,6 +59,14 @@ namespace BizHawk.Client.DBMan
fpOutfile = args[i++];
}
var done = new HashSet<string>();
foreach (var line in File.ReadAllLines(fpOutfile))
{
if (line.Trim() == "") continue;
var parts = line.Split(new[] { "//" }, StringSplitOptions.None);
done.Add(parts[1]);
}
using (var outf = new StreamWriter(fpOutfile))
{