mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Enable generation of RAW CD sectors from images that do only contains them cooked. Fixes #301
This commit is contained in:
@@ -35,6 +35,7 @@ using System.IO;
|
||||
using Aaru.CommonTypes.Enums;
|
||||
using Aaru.CommonTypes.Interfaces;
|
||||
using Aaru.CommonTypes.Structs;
|
||||
using Aaru.Decoders.CD;
|
||||
|
||||
namespace Aaru.DiscImages
|
||||
{
|
||||
@@ -42,6 +43,7 @@ namespace Aaru.DiscImages
|
||||
// TODO: Too many unknowns to make this writable
|
||||
public partial class DiscJuggler : IOpticalMediaImage
|
||||
{
|
||||
SectorBuilder _sectorBuilder;
|
||||
byte[] cdtext;
|
||||
ImageInfo imageInfo;
|
||||
Stream imageStream;
|
||||
@@ -51,12 +53,9 @@ namespace Aaru.DiscImages
|
||||
public DiscJuggler() => imageInfo = new ImageInfo
|
||||
{
|
||||
ReadableSectorTags = new List<SectorTagType>(), ReadableMediaTags = new List<MediaTagType>(),
|
||||
HasPartitions = true, HasSessions = true, Version = null,
|
||||
ApplicationVersion = null,
|
||||
MediaTitle = null, Creator = null, MediaManufacturer = null,
|
||||
MediaModel = null,
|
||||
MediaPartNumber = null, MediaSequence = 0, LastMediaSequence = 0,
|
||||
DriveManufacturer = null,
|
||||
HasPartitions = true, HasSessions = true, Version = null, ApplicationVersion = null,
|
||||
MediaTitle = null, Creator = null, MediaManufacturer = null, MediaModel = null,
|
||||
MediaPartNumber = null, MediaSequence = 0, LastMediaSequence = 0, DriveManufacturer = null,
|
||||
DriveModel = null, DriveSerialNumber = null, DriveFirmwareRevision = null
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user