mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add support for negative and overflow sectors in image creation
This commit is contained in:
@@ -47,8 +47,8 @@ public sealed partial class MaxiDisk
|
||||
#region IWritableImage Members
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool Create(string path, MediaType mediaType, Dictionary<string, string> options, ulong sectors,
|
||||
uint sectorSize)
|
||||
public bool Create(string path, MediaType mediaType, Dictionary<string, string> options, ulong sectors,
|
||||
uint negativeSectors, uint overflowSectors, uint sectorSize)
|
||||
{
|
||||
if(CountBits.Count(sectorSize) != 1 || sectorSize > 16384)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user