mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
* DiscImageChef.Decoders/CD/ATIP.cs:
Added disc type and manufacturer lookup from ATIP. * DiscImageChef.Decoders/CD/PMA.cs: Implement full PMA decoding. * DiscImageChef.Decoders/CD/FullTOC.cs: Implement decoding disc ID. * DiscImageChef.Decoders/SCSI/MMC/DiscInformation.cs: Disc ID is 24-bit. * DiscImageChef.Decoders/CD/CDTextOnLeadIn.cs: CD-TEXT can be empty without being null, do not decode an empty one.
This commit is contained in:
@@ -207,7 +207,7 @@ namespace DiscImageChef.Decoders.CD
|
||||
foreach (TrackDataDescriptor descriptor in response.TrackDescriptors)
|
||||
{
|
||||
if ((descriptor.CONTROL & 0x08) == 0x08 ||
|
||||
(descriptor.ADR != 1 && descriptor.ADR != 5 && descriptor.ADR != 4) ||
|
||||
(descriptor.ADR != 1 && descriptor.ADR != 5 && descriptor.ADR != 4 && descriptor.ADR != 6) ||
|
||||
descriptor.TNO != 0)
|
||||
{
|
||||
sb.AppendLine("Unknown TOC entry format, printing values as-is");
|
||||
@@ -533,6 +533,12 @@ namespace DiscImageChef.Decoders.CD
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 6:
|
||||
{
|
||||
uint id = (uint)((descriptor.Min << 16) + (descriptor.Sec << 8) + descriptor.Frame);
|
||||
sb.AppendFormat("Disc ID: {0:X6}", id & 0x00FFFFFF).AppendLine();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user