mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Allow to dump the video partition of XGD discs when forced is enable. Fixes #384
This commit is contained in:
@@ -380,6 +380,8 @@ namespace Aaru.Core.Devices.Dumping
|
|||||||
dskType = MediaType.XGD3;
|
dskType = MediaType.XGD3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
isXbox = true;
|
||||||
|
|
||||||
sense = _dev.ScsiInquiry(out byte[] inqBuf, out _);
|
sense = _dev.ScsiInquiry(out byte[] inqBuf, out _);
|
||||||
|
|
||||||
if(sense ||
|
if(sense ||
|
||||||
@@ -391,7 +393,10 @@ namespace Aaru.Core.Devices.Dumping
|
|||||||
StoppingErrorMessage?.
|
StoppingErrorMessage?.
|
||||||
Invoke("Dumping Xbox Game Discs requires a drive with Kreon firmware.");
|
Invoke("Dumping Xbox Game Discs requires a drive with Kreon firmware.");
|
||||||
|
|
||||||
return;
|
if(!_force)
|
||||||
|
return;
|
||||||
|
|
||||||
|
isXbox = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(_dumpRaw && !_force)
|
if(_dumpRaw && !_force)
|
||||||
@@ -402,8 +407,6 @@ namespace Aaru.Core.Devices.Dumping
|
|||||||
// TODO: Exit more gracefully
|
// TODO: Exit more gracefully
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
isXbox = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(cmdBuf.Length == 2052)
|
if(cmdBuf.Length == 2052)
|
||||||
|
|||||||
Reference in New Issue
Block a user