Move old CD dumping code out.

This commit is contained in:
2019-12-14 14:33:23 +00:00
parent 38647882a6
commit 321a3231be

View File

@@ -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;