mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Added support for Xbox DMI, with detection and decoding.
This commit is contained in:
@@ -539,10 +539,12 @@ namespace DiscImageChef.Commands
|
||||
else
|
||||
{
|
||||
doWriteFile(outputPrefix, "_readdiscstructure_dvd_dmi.bin", "SCSI READ DISC STRUCTURE", cmdBuf);
|
||||
//if(Decoders.Xbox.DMI.IsXbox(cmdBuf))
|
||||
// Nop();
|
||||
//else if
|
||||
if(Decoders.Xbox.DMI.IsXbox360(cmdBuf))
|
||||
if(Decoders.Xbox.DMI.IsXbox(cmdBuf))
|
||||
{
|
||||
dskType = MediaType.XGD;
|
||||
DicConsole.WriteLine("Xbox DMI:\n{0}", Decoders.Xbox.DMI.PrettifyXbox(cmdBuf));
|
||||
}
|
||||
else if(Decoders.Xbox.DMI.IsXbox360(cmdBuf))
|
||||
{
|
||||
// TODO: Detect XGD3 from XGD2...
|
||||
dskType = MediaType.XGD2;
|
||||
|
||||
Reference in New Issue
Block a user