Merge pull request #2 from aaru-dps/fakeshemp/css

Add DVD CSS related enums and resume function
This commit is contained in:
2021-01-16 13:17:52 +00:00
committed by GitHub
2 changed files with 11 additions and 2 deletions

View File

@@ -34,6 +34,7 @@
//
// ----------------------------------------------------------------------------
// Copyright © 2011-2021 Natalia Portillo
// Copyright © 2020-2021 Rebecca Wallander
// ****************************************************************************/
using System;
@@ -109,7 +110,11 @@ namespace Aaru.CommonTypes.Enums
/// <summary>DVD sector copyright information</summary>
DvdCmi = 12,
/// <summary>Floppy address mark (contents depend on underlying floppy format)</summary>
FloppyAddressMark = 13
FloppyAddressMark = 13,
/// <summary>DVD sector title key, 5 bytes</summary>
DvdTitleKey = 14,
/// <summary>Decrypted DVD sector title key, 5 bytes</summary>
DvdTitleKeyDecrypted = 15
}
/// <summary>Metadata present for each media.</summary>
@@ -264,7 +269,9 @@ namespace Aaru.CommonTypes.Enums
/// <summary>User TOC, contains fragments, track names, and can be from 1 to 3 sectors of 2336 bytes</summary>
MiniDiscUTOC = 71,
/// <summary>Not entirely clear kind of TOC that only appears on MD-DATA discs</summary>
MiniDiscDTOC = 72
MiniDiscDTOC = 72,
/// <summary>Decrypted DVD disc key</summary>
DVD_DiscKey_Decrypted = 73
}
/// <summary>Enumeration of media types defined in CICM metadata</summary>

View File

@@ -60,6 +60,8 @@ namespace Aaru.CommonTypes.Metadata
public List<int> BadSubchannels;
[XmlArrayItem("Extent")]
public ExtentType[] BlankExtents;
[XmlArrayItem("Block")]
public List<ulong> MissingTitleKeys;
[XmlArrayItem("DumpTry")]
public List<DumpHardwareType> Tries;