Add support for negative and overflow sectors in image creation

This commit is contained in:
2025-10-23 11:21:47 +01:00
parent 23873fb2f5
commit e2d4ea76b8
55 changed files with 223 additions and 150 deletions

View File

@@ -209,6 +209,8 @@ public abstract class WritableOpticalMediaImageTest : BaseWritableMediaImageTest
inputFormat.Info.MediaType,
new Dictionary<string, string>(),
inputFormat.Info.Sectors,
0,
0,
inputFormat.Info.SectorSize),
string.Format(Localization.Error_0_creating_output_image, outputFormat.ErrorMessage));
@@ -471,10 +473,12 @@ public abstract class WritableOpticalMediaImageTest : BaseWritableMediaImageTest
result = true;
}
else
{
result = outputFormat.WriteSectorTag(sector,
doneSectors + track.StartSector,
false,
tag);
}
}
else
{