diff --git a/Aaru.Devices/Device/ScsiCommands/OmniDrive.cs b/Aaru.Devices/Device/ScsiCommands/OmniDrive.cs index 8acf92ca1..30d961709 100644 --- a/Aaru.Devices/Device/ScsiCommands/OmniDrive.cs +++ b/Aaru.Devices/Device/ScsiCommands/OmniDrive.cs @@ -138,8 +138,7 @@ public partial class Device if (!Sector.CheckIed(buffer, transferLength)) return true; - if(descramble) - if (!Sector.CheckEdc(buffer, transferLength)) return true; + if(descramble && !Sector.CheckEdc(buffer, transferLength)) return true; Error = LastError != 0;