mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Move old CD dumping code out.
This commit is contained in:
@@ -65,6 +65,19 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
/// <summary>Dumps a compact disc</summary>
|
||||
/// <param name="dskType">Disc type as detected in MMC layer</param>
|
||||
internal void CompactDisc(ref MediaType dskType)
|
||||
{
|
||||
if(dumpRaw)
|
||||
{
|
||||
dumpLog.WriteLine("Raw CD dumping not yet implemented");
|
||||
StoppingErrorMessage?.Invoke("Raw CD dumping not yet implemented");
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Dumps a compact disc</summary>
|
||||
/// <param name="dskType">Disc type as detected in MMC layer</param>
|
||||
internal void CompactDiscOld(ref MediaType dskType)
|
||||
{
|
||||
uint subSize;
|
||||
DateTime start;
|
||||
@@ -81,14 +94,6 @@ namespace DiscImageChef.Core.Devices.Dumping
|
||||
uint blocksToRead = 64;
|
||||
Dictionary<MediaTagType, byte[]> mediaTags = new Dictionary<MediaTagType, byte[]>();
|
||||
|
||||
if(dumpRaw)
|
||||
{
|
||||
dumpLog.WriteLine("Raw CD dumping not yet implemented");
|
||||
StoppingErrorMessage?.Invoke("Raw CD dumping not yet implemented");
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
dskType = MediaType.CD;
|
||||
int sessions = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user