Add support for PD650 media.

This commit is contained in:
2019-05-16 23:29:54 +01:00
parent 3d7d50dc25
commit 8fefbb4d00
13 changed files with 290 additions and 153 deletions

View File

@@ -74,6 +74,9 @@ namespace DiscImageChef.Core.Devices.Dumping
case 0x0001:
dskType = MediaType.GENERIC_HDD;
goto default;
case 0x0002:
dskType = MediaType.PD650;
goto default;
case 0x0005:
dskType = MediaType.CDMO;
break;
@@ -175,6 +178,8 @@ namespace DiscImageChef.Core.Devices.Dumping
dumpLog.WriteLine("Device reports disc has {0} blocks", blocks);
Dictionary<MediaTagType, byte[]> mediaTags = new Dictionary<MediaTagType, byte[]>();
if(dskType == MediaType.PD650 && blocks == 1281856) dskType = MediaType.PD650_WORM;
#region Nintendo
switch(dskType)
{