mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Set only supported namespaces in ISO9660 when the requested one is guaranteed to not exist.
This commit is contained in:
@@ -179,6 +179,27 @@ namespace DiscImageChef.Filesystems.ISO9660
|
|||||||
}
|
}
|
||||||
else fsFormat = "ISO9660";
|
else fsFormat = "ISO9660";
|
||||||
|
|
||||||
|
// High Sierra and CD-i do not support Joliet or RRIP
|
||||||
|
if((highSierra || cdi) && this.@namespace != Namespace.Normal && this.@namespace != Namespace.Vms)
|
||||||
|
this.@namespace = Namespace.Normal;
|
||||||
|
|
||||||
|
if(jolietvd is null)
|
||||||
|
{
|
||||||
|
switch(this.@namespace)
|
||||||
|
{
|
||||||
|
case Namespace.Joliet:
|
||||||
|
case Namespace.JolietNormal:
|
||||||
|
this.@namespace = Namespace.Normal;
|
||||||
|
break;
|
||||||
|
case Namespace.RripJoliet:
|
||||||
|
this.@namespace = Namespace.Rrip;
|
||||||
|
break;
|
||||||
|
case Namespace.RripJolietNormal:
|
||||||
|
this.@namespace = Namespace.RripNormal;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
uint rootLocation = 0;
|
uint rootLocation = 0;
|
||||||
uint rootSize = 0;
|
uint rootSize = 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user