mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add support for negative sectors to read and write sector calls in images.
This commit is contained in:
@@ -112,7 +112,8 @@ public sealed partial class PascalPlugin
|
||||
|
||||
if(error != ErrorNumber.NoError) return error;
|
||||
|
||||
error = _device.ReadSectors((ulong)entry.FirstBlock * _multiplier,
|
||||
error = _device.ReadSectors((ulong)entry.FirstBlock * _multiplier,
|
||||
false,
|
||||
(uint)(entry.LastBlock - entry.FirstBlock) * _multiplier,
|
||||
out byte[] tmp,
|
||||
out _);
|
||||
|
||||
Reference in New Issue
Block a user