Fix sectors in obsolete UDIF RO images.

This commit is contained in:
2021-06-04 14:49:37 +01:00
parent f5d169e91b
commit 3215795dd5

View File

@@ -268,10 +268,10 @@ namespace Aaru.DiscImages
AaruConsole.DebugWriteLine("UDIF plugin", "Image application = {0} version {1}", _imageInfo.Application,
_imageInfo.ApplicationVersion);
_imageInfo.Sectors = 0;
if(!fakeBlockChunks)
{
_imageInfo.Sectors = 0;
if(blkxList.Count == 0)
throw new
ImageNotSupportedException("Could not retrieve block chunks. Please fill an issue and send it to us.");