mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Add support for Romeo.
This commit is contained in:
@@ -16,7 +16,7 @@ namespace DiscImageChef.Filesystems.ISO9660
|
||||
public Errno Mount(IMediaImage imagePlugin, Partition partition, Encoding encoding,
|
||||
Dictionary<string, string> options, string @namespace)
|
||||
{
|
||||
Encoding = encoding ?? Encoding.ASCII;
|
||||
Encoding = encoding ?? Encoding.GetEncoding(1252);
|
||||
byte[] vdMagic = new byte[5]; // Volume Descriptor magic "CD001"
|
||||
byte[] hsMagic = new byte[5]; // Volume Descriptor magic "CDROM"
|
||||
|
||||
@@ -40,6 +40,9 @@ namespace DiscImageChef.Filesystems.ISO9660
|
||||
case "rrip":
|
||||
this.@namespace = Namespace.Rrip;
|
||||
break;
|
||||
case "romeo":
|
||||
this.@namespace = Namespace.Romeo;
|
||||
break;
|
||||
default: return Errno.InvalidArgument;
|
||||
}
|
||||
|
||||
@@ -214,6 +217,8 @@ namespace DiscImageChef.Filesystems.ISO9660
|
||||
? DecodeHighSierraDirectory(rootDir)
|
||||
: DecodeIsoDirectory(rootDir);
|
||||
|
||||
if(this.@namespace == Namespace.Romeo) Encoding = Encoding.ASCII;
|
||||
|
||||
XmlFsType.Type = fsFormat;
|
||||
|
||||
if(jolietvd != null && this.@namespace == Namespace.Joliet)
|
||||
|
||||
Reference in New Issue
Block a user