Code cleanup.

This commit is contained in:
2018-06-22 08:08:38 +01:00
parent 82f474c7e3
commit 88da8fc019
581 changed files with 22423 additions and 20839 deletions

View File

@@ -188,7 +188,7 @@ namespace DiscImageChef.Decoders.CD
if(!SyncMark.SequenceEqual(sync)) return sector;
byte[] scrambled = new byte[sector.Length];
byte[] scrambled = new byte[sector.Length];
for(int i = 0; i < 2352; i++) scrambled[i] = (byte)(sector[i] ^ ScrambleTable[i]);
if(sector.Length <= 2352) return scrambled;