Add an interface for classes able to draw media status, like the spiral.

This commit is contained in:
2022-12-05 19:41:32 +00:00
parent 13cd297d14
commit 14ab866e4a
16 changed files with 120 additions and 5 deletions

View File

@@ -214,6 +214,10 @@ partial class Dump
outputFormat.WriteSectors(buffer, i, blocksToRead);
imageWriteDuration += (DateTime.Now - writeStart).TotalSeconds;
extents.Add(i, blocksToRead, true);
if(_opticalDiscSpiral is not null)
for(int b = 0; b < blocksToRead; b++)
_opticalDiscSpiral.PaintSectorGood(i + (ulong)b);
}
else
{