mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Use index from end expression.
This commit is contained in:
@@ -372,8 +372,8 @@ namespace Aaru.Core.Devices.Dumping
|
||||
for(int t = 1; t < tracks.Length; t++)
|
||||
tracks[t - 1].TrackEndSector = tracks[t].TrackStartSector - 1;
|
||||
|
||||
tracks[tracks.Length - 1].TrackEndSector = (ulong)lastSector;
|
||||
blocks = (ulong)(lastSector + 1);
|
||||
tracks[^1].TrackEndSector = (ulong)lastSector;
|
||||
blocks = (ulong)(lastSector + 1);
|
||||
|
||||
if(blocks == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user