mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[TeleDisk] Return empty data for sectors not present in image. Fixes #786
This commit is contained in:
@@ -588,6 +588,10 @@ public sealed partial class TeleDisk
|
||||
if(errno != ErrorNumber.NoError)
|
||||
return errno;
|
||||
|
||||
// Sector not in image, TODO for 6.0 return NotDumped status
|
||||
if(sector is null)
|
||||
continue;
|
||||
|
||||
ms.Write(sector, 0, sector.Length);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user