Add field to propagate partition scheme on each partition.

This commit is contained in:
2017-07-23 22:54:36 +01:00
parent 332c2901fd
commit 4b9d012346
18 changed files with 488 additions and 376 deletions

View File

@@ -70,13 +70,16 @@ namespace DiscImageChef.PartPlugins
foreach(RioKarmaEntry entry in table.entries)
{
Partition part = new Partition();
part.Start = entry.offset;
part.Offset = (ulong)(entry.offset * sector.Length);
part.Size = entry.size;
part.Length = (ulong)(entry.size * sector.Length);
part.Type = "Rio Karma";
part.Sequence = counter;
Partition part = new Partition
{
Start = entry.offset,
Offset = (ulong)(entry.offset * sector.Length),
Size = entry.size,
Length = (ulong)(entry.size * sector.Length),
Type = "Rio Karma",
Sequence = counter,
Scheme = Name
};
if(entry.type == EntryMagic)
{
partitions.Add(part);