General refactor.

This commit is contained in:
2018-06-20 22:22:21 +01:00
parent dc1884f5d8
commit ec8b309670
93 changed files with 850 additions and 1015 deletions

View File

@@ -42,7 +42,7 @@ namespace DiscImageChef.Filesystems
{
public class ECMA67 : IFilesystem
{
readonly byte[] ECMA67_Magic = {0x56, 0x4F, 0x4C};
readonly byte[] ecma67_magic = {0x56, 0x4F, 0x4C};
public Encoding Encoding { get; private set; }
public string Name => "ECMA-67";
@@ -65,7 +65,7 @@ namespace DiscImageChef.Filesystems
vol = (VolumeLabel)Marshal.PtrToStructure(volPtr, typeof(VolumeLabel));
Marshal.FreeHGlobal(volPtr);
return ECMA67_Magic.SequenceEqual(vol.labelIdentifier) && vol.labelNumber == 1 && vol.recordLength == 0x31;
return ecma67_magic.SequenceEqual(vol.labelIdentifier) && vol.labelNumber == 1 && vol.recordLength == 0x31;
}
public void GetInformation(IMediaImage imagePlugin, Partition partition, out string information,