fix bug with printing 'title keys dumping' when there are none to be dumped

This commit is contained in:
Rebecca Wallander
2021-04-30 16:56:05 +02:00
parent 8b9d5adda7
commit 4664c60f5a
2 changed files with 7 additions and 3 deletions

View File

@@ -177,7 +177,7 @@ namespace Aaru.Core.Devices.Dumping
_outputPlugin.WriteSectorTag(titleKey.Value.Key, i + j, SectorTagType.DvdTitleKey);
_resume.MissingTitleKeys.Remove(i + j);
CSS.DecryptTitleKey(0, discKey, titleKey.Value.Key, out tmpBuf);
CSS.DecryptTitleKey(0, discKey!, titleKey.Value.Key, out tmpBuf);
_outputPlugin.WriteSectorTag(tmpBuf, i + j, SectorTagType.DvdTitleKeyDecrypted);
}
}