mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix writing CopyTape block size.
This commit is contained in:
@@ -99,7 +99,7 @@ namespace DiscImageChef.DiscImages.CopyTape
|
||||
}
|
||||
else dataStream.Position = (long)position;
|
||||
|
||||
byte[] header = Encoding.ASCII.GetBytes($"CPTP:BLK {data.Length:06D}\n");
|
||||
byte[] header = Encoding.ASCII.GetBytes($"CPTP:BLK {data.Length:D6}\n");
|
||||
|
||||
writtenBlockPositions[sectorAddress] = (ulong)dataStream.Position;
|
||||
dataStream.Write(header, 0, header.Length);
|
||||
|
||||
Reference in New Issue
Block a user