mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Fix C2 error mode for selected drives
- C2ErrorMode.Mode294 does not work for these drives: LG GH24NSD1, ASUS DRW-24D5MT. Try Mode296 first - Fixes the following exception: CUETools.Ripper.SCSI.SCSIException: 'Error reading CD: medium error: UNRECOVERED READ ERROR' - Resolves #19
This commit is contained in:
@@ -782,9 +782,14 @@ namespace CUETools.Ripper.SCSI
|
||||
if (readCommandFound)
|
||||
return true;
|
||||
|
||||
//ReadCDCommand[] readmode = { ReadCDCommand.ReadCdBEh, ReadCDCommand.ReadCdD8h };
|
||||
ReadCDCommand[] readmode = { ReadCDCommand.ReadCdBEh, ReadCDCommand.ReadCdD8h };
|
||||
ReadCDCommand[] readmode = { ReadCDCommand.ReadCdBEh, ReadCDCommand.ReadCdD8h };
|
||||
Device.C2ErrorMode[] c2mode = { Device.C2ErrorMode.Mode294, Device.C2ErrorMode.Mode296, Device.C2ErrorMode.None };
|
||||
// Mode294 does not work for these drives: LG GH24NSD1, ASUS DRW-24D5MT. Try Mode296 first
|
||||
if (Path.Contains("GH24NSD1") || Path.Contains("DRW-24D5MT"))
|
||||
{
|
||||
c2mode.SetValue(Device.C2ErrorMode.Mode296, 0);
|
||||
c2mode.SetValue(Device.C2ErrorMode.Mode294, 1);
|
||||
}
|
||||
Device.MainChannelSelection[] mainmode = { Device.MainChannelSelection.UserData, Device.MainChannelSelection.F8h };
|
||||
bool found = false;
|
||||
_autodetectResult = "";
|
||||
|
||||
Reference in New Issue
Block a user