mirror of
https://github.com/aaru-dps/Aaru.git
synced 2026-05-21 03:57:52 +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(descramble)
|
||||
if (!Sector.CheckEdc(buffer, transferLength)) return true;
|
||||
if(descramble && !Sector.CheckEdc(buffer, transferLength)) return true;
|
||||
|
||||
Error = LastError != 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user