Remove redundant parentheses.

This commit is contained in:
2021-08-17 14:27:18 +01:00
parent f7fa226727
commit e9e427d50b
3 changed files with 61 additions and 61 deletions

View File

@@ -58,7 +58,7 @@ namespace Aaru.Decoders.CD
}
static (byte minute, byte second, byte frame) LbaToMsf(long pos) =>
((byte)((pos + 150) / 75 / 60), (byte)(((pos + 150) / 75) % 60), (byte)((pos + 150) % 75));
((byte)((pos + 150) / 75 / 60), (byte)((pos + 150) / 75 % 60), (byte)((pos + 150) % 75));
public void ReconstructPrefix(ref byte[] sector, // must point to a full 2352-byte sector
TrackType type, long lba)
@@ -218,7 +218,7 @@ namespace Aaru.Decoders.CD
for(minor = 0; minor < minorCount; minor++)
{
byte temp = idx < 4 ? address[idx + addressOffset] : data[(idx + dataOffset) - 4];
byte temp = idx < 4 ? address[idx + addressOffset] : data[idx + dataOffset - 4];
idx += minorInc;
if(idx >= size)