mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add detection of China Video Disc.
This commit is contained in:
@@ -1569,7 +1569,7 @@ namespace Aaru.Core.Media.Detection
|
||||
ngcdIplLength = BitConverter.ToUInt32(isoSector, rootPos + 10);
|
||||
}
|
||||
|
||||
if((name == "VCD" || name == "SVCD") &&
|
||||
if((name == "VCD" || name == "SVCD" || name == "HQVCD") &&
|
||||
(isoSector[rootPos + 25] & 0x02) == 0x02)
|
||||
{
|
||||
vcdStart = BitConverter.ToUInt32(isoSector, rootPos + 2);
|
||||
@@ -1842,12 +1842,18 @@ namespace Aaru.Core.Media.Detection
|
||||
|
||||
return;
|
||||
case "SUPERVCD":
|
||||
case "HQ-VCD":
|
||||
mediaType = MediaType.SVCD;
|
||||
|
||||
AaruConsole.DebugWriteLine("Media detection",
|
||||
"Found Super Video CD description file, setting disc type to Super Video CD.");
|
||||
|
||||
break;
|
||||
case "HQ-VCD":
|
||||
mediaType = MediaType.CVD;
|
||||
|
||||
AaruConsole.DebugWriteLine("Media detection",
|
||||
"Found China Video Disc description file, setting disc type to China Video Disc.");
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user