add ability to resume disc hashing when interrupted

This commit is contained in:
zeromus 2015-07-11 08:16:40 -05:00
parent a611bd5e66
commit 7d9ea610e9
1 changed files with 9 additions and 0 deletions

View File

@ -77,6 +77,15 @@ namespace BizHawk.Client.DBMan
{
string name = Path.GetFileNameWithoutExtension(fiCue);
lock (olock)
{
if (done.Contains(name))
{
progress++;
return;
}
}
//now look for the cue file
using (var disc = Disc.LoadAutomagic(fiCue))
{