Adjusted several parameters for CD-i file system.

This commit is contained in:
2017-10-13 22:19:04 +01:00
parent 717f12b48a
commit a8a1cc4d1c
3 changed files with 6 additions and 6 deletions

View File

@@ -38,7 +38,7 @@ namespace DiscImageChef.Filesystems.ISO9660
readonly string CdiMagic = "CD-I "; readonly string CdiMagic = "CD-I ";
[Flags] [Flags]
enum CdiVolumeFlags enum CdiVolumeFlags : byte
{ {
// Escapes are not ISO 2375 but ISO 2022 // Escapes are not ISO 2375 but ISO 2022
NotISO2375 = 1, NotISO2375 = 1,

View File

@@ -526,9 +526,9 @@ namespace DiscImageChef.Filesystems.ISO9660
ISOMetadata.AppendLine("This is a Sega Dreamcast disc."); ISOMetadata.AppendLine("This is a Sega Dreamcast disc.");
ISOMetadata.AppendLine(Decoders.Sega.Dreamcast.Prettify(Dreamcast)); ISOMetadata.AppendLine(Decoders.Sega.Dreamcast.Prettify(Dreamcast));
} }
ISOMetadata.AppendLine("------------------------------"); ISOMetadata.AppendFormat("{0}------------------------------", CDi ? "---------------" : "").AppendLine();
ISOMetadata.AppendLine("VOLUME DESCRIPTOR INFORMATION:"); ISOMetadata.AppendFormat("{0}VOLUME DESCRIPTOR INFORMATION:", CDi ? "FILE STRUCTURE " : "").AppendLine();
ISOMetadata.AppendLine("------------------------------"); ISOMetadata.AppendFormat("{0}------------------------------", CDi ? "---------------" : "").AppendLine();
ISOMetadata.AppendFormat("System identifier: {0}", decodedVD.SystemIdentifier).AppendLine(); ISOMetadata.AppendFormat("System identifier: {0}", decodedVD.SystemIdentifier).AppendLine();
ISOMetadata.AppendFormat("Volume identifier: {0}", decodedVD.VolumeIdentifier).AppendLine(); ISOMetadata.AppendFormat("Volume identifier: {0}", decodedVD.VolumeIdentifier).AppendLine();
ISOMetadata.AppendFormat("Volume set identifier: {0}", decodedVD.VolumeSetIdentifier).AppendLine(); ISOMetadata.AppendFormat("Volume set identifier: {0}", decodedVD.VolumeSetIdentifier).AppendLine();

View File

@@ -55,7 +55,7 @@ namespace DiscImageChef.Filesystems.ISO9660
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 32)] [MarshalAs(UnmanagedType.ByValArray, SizeConst = 32)]
public byte[] escape_sequences; public byte[] escape_sequences;
public ushort reserved2; public ushort reserved2;
public ushort volume_set_siz; public ushort volume_set_size;
public ushort reserved3; public ushort reserved3;
public ushort volume_sequence_number; public ushort volume_sequence_number;
public ushort reserved4; public ushort reserved4;
@@ -63,7 +63,7 @@ namespace DiscImageChef.Filesystems.ISO9660
public uint reserved5; public uint reserved5;
public uint path_table_size; public uint path_table_size;
public ulong reserved6; public ulong reserved6;
public uint type_m_path_table; public uint path_table_addr;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 38)] [MarshalAs(UnmanagedType.ByValArray, SizeConst = 38)]
public byte[] reserved7; public byte[] reserved7;
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 128)] [MarshalAs(UnmanagedType.ByValArray, SizeConst = 128)]