mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Added support for Nintendo GOD and WOD.
This commit is contained in:
@@ -77,7 +77,12 @@ namespace DiscImageChef.Decoders.DVD
|
||||
/// <summary>
|
||||
/// DVD+R DL. Version 1 is ECMA-364.
|
||||
/// </summary>
|
||||
DVDPRDL = 14
|
||||
DVDPRDL = 14,
|
||||
/// <summary>
|
||||
/// According to standards this value is reserved.
|
||||
/// It's used by Nintendo GODs and WODs.
|
||||
/// </summary>
|
||||
Nintendo = 15
|
||||
}
|
||||
|
||||
public enum MaximumRateField : byte
|
||||
|
||||
13
DVD/PFI.cs
13
DVD/PFI.cs
@@ -1470,6 +1470,19 @@ namespace DiscImageChef.Decoders.DVD
|
||||
break;
|
||||
}
|
||||
break;
|
||||
case DiskCategory.Nintendo:
|
||||
if (decoded.PartVersion == 15)
|
||||
{
|
||||
if (decoded.DiscSize == DVDSize.Eighty)
|
||||
sb.AppendLine("Disc is a Nintendo Gamecube Optical Disc (GOD)");
|
||||
else if (decoded.DiscSize == DVDSize.OneTwenty)
|
||||
sb.AppendLine("Disc is a Nintendo Wii Optical Disc (WOD)");
|
||||
else
|
||||
goto default;
|
||||
}
|
||||
else
|
||||
goto default;
|
||||
break;
|
||||
default:
|
||||
sb.AppendFormat(categorySentence, sizeString, "unknown disc type", decoded.PartVersion).AppendLine();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user