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
|
get
|
||||||
{
|
{
|
||||||
if(imageInfo.XmlMediaType != XmlMediaType.OpticalDisc)
|
if(imageInfo.XmlMediaType != XmlMediaType.OpticalDisc) return null;
|
||||||
throw new FeatureUnsupportedImageException("Feature not supported by image format");
|
|
||||||
|
|
||||||
List<Partition> parts = new List<Partition>();
|
List<Partition> parts = new List<Partition>();
|
||||||
Partition part = new Partition
|
Partition part = new Partition
|
||||||
|
|||||||
Reference in New Issue
Block a user