mirror of
https://github.com/aaru-dps/Aaru.git
synced 2026-04-05 21:44:17 +00:00
untangle if-statement
This commit is contained in:
@@ -138,8 +138,7 @@ public partial class Device
|
|||||||
|
|
||||||
if (!Sector.CheckIed(buffer, transferLength)) return true;
|
if (!Sector.CheckIed(buffer, transferLength)) return true;
|
||||||
|
|
||||||
if(descramble)
|
if(descramble && !Sector.CheckEdc(buffer, transferLength)) return true;
|
||||||
if (!Sector.CheckEdc(buffer, transferLength)) return true;
|
|
||||||
|
|
||||||
Error = LastError != 0;
|
Error = LastError != 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user