mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix off by one track ends in Blindwrite 4.
This commit is contained in:
@@ -200,6 +200,9 @@ namespace Aaru.DiscImages
|
||||
track.lastSector = BitConverter.ToUInt32(tmpUInt, 0);
|
||||
track.unknown12 = (byte)stream.ReadByte();
|
||||
|
||||
// This is off by one
|
||||
track.lastSector--;
|
||||
|
||||
stream.Read(tmpUInt, 0, 4);
|
||||
track.pregap = BitConverter.ToInt32(tmpUInt, 0);
|
||||
stream.Read(tmpUInt, 0, 4);
|
||||
|
||||
Reference in New Issue
Block a user