mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
On raw image do not raise an exception if asked for partitions and the underlying image is not an optical disc.
This commit is contained in:
@@ -110,8 +110,7 @@ namespace DiscImageChef.DiscImages
|
||||
{
|
||||
get
|
||||
{
|
||||
if(imageInfo.XmlMediaType != XmlMediaType.OpticalDisc)
|
||||
throw new FeatureUnsupportedImageException("Feature not supported by image format");
|
||||
if(imageInfo.XmlMediaType != XmlMediaType.OpticalDisc) return null;
|
||||
|
||||
List<Partition> parts = new List<Partition>();
|
||||
Partition part = new Partition
|
||||
|
||||
Reference in New Issue
Block a user