mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
General code style and feature fixes.
This commit is contained in:
@@ -86,7 +86,7 @@ public sealed partial class Cdrdao
|
||||
string line = _tocStream.ReadLine();
|
||||
|
||||
Match dm = dr.Match(line ?? "");
|
||||
Match cm = cr.Match(line);
|
||||
Match cm = cr.Match(line ?? "");
|
||||
|
||||
// Skip comments at start of file
|
||||
if(cm.Success)
|
||||
|
||||
@@ -1373,11 +1373,10 @@ public sealed partial class Cdrdao
|
||||
_imageStream = aaruTrack.Trackfile.Datafilter.GetDataForkStream();
|
||||
var br = new BinaryReader(_imageStream);
|
||||
|
||||
br.BaseStream.
|
||||
Seek((long)aaruTrack.Trackfile.Offset + (long)(sectorAddress * (sectorOffset + sectorSize + sectorSkip)),
|
||||
SeekOrigin.Begin);
|
||||
br.BaseStream.Seek((long)aaruTrack.Trackfile.Offset + (long)(sectorAddress * (sectorSize + sectorSkip)),
|
||||
SeekOrigin.Begin);
|
||||
|
||||
if(sectorOffset == 0 &&
|
||||
if(
|
||||
sectorSkip == 0)
|
||||
buffer = br.ReadBytes((int)(sectorSize * length));
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user