Move decryption option to Settings + formatting fixes

This commit is contained in:
Rebecca Wallander
2021-01-16 18:57:14 +01:00
parent 1e1e575fb9
commit 9d9cf68e0a
9 changed files with 42 additions and 54 deletions

View File

@@ -359,6 +359,8 @@ namespace Aaru.Core.Devices.Dumping
titleKey.Value.CMI
}, missingKey, SectorTagType.DvdCmi);
// If the CMI bit is 1, the sector is using copy protection, else it is not
// If the decoded title key is zeroed, there should be no copy protection
if((titleKey.Value.CMI & 0x80) >> 7 == 0 ||
titleKey.Value.Key.All(k => k == 0))
{