diff --git a/Aaru.CommonTypes b/Aaru.CommonTypes index 79fd67ba5..39d41b150 160000 --- a/Aaru.CommonTypes +++ b/Aaru.CommonTypes @@ -1 +1 @@ -Subproject commit 79fd67ba55cf62f6cfb0b6e33eff8b9059da03ff +Subproject commit 39d41b15039c27bd3306a61cb85c1b78b05d7fd6 diff --git a/Aaru.Filesystems/MinixFS/Info.cs b/Aaru.Filesystems/MinixFS/Info.cs index b72eebf76..225b88c88 100644 --- a/Aaru.Filesystems/MinixFS/Info.cs +++ b/Aaru.Filesystems/MinixFS/Info.cs @@ -125,7 +125,7 @@ public sealed partial class MinixFS if(magic is MINIX3_MAGIC or MINIX3_CIGAM or MINIX2_MAGIC or MINIX2_CIGAM or MINIX_MAGIC or MINIX_CIGAM) { filenamesize = 60; - littleEndian = magic is not MINIX3_CIGAM or MINIX2_CIGAM or MINIX_CIGAM; + littleEndian = magic is not (MINIX3_CIGAM or MINIX2_CIGAM or MINIX_CIGAM); switch(magic) { diff --git a/Aaru.Images/DiskCopy42/Read.cs b/Aaru.Images/DiskCopy42/Read.cs index 2540e63c6..f40b4795b 100644 --- a/Aaru.Images/DiskCopy42/Read.cs +++ b/Aaru.Images/DiskCopy42/Read.cs @@ -234,15 +234,15 @@ public sealed partial class DiskCopy42 { sectorsToCopy = i switch { - >= 0 and <= 3 => 22, - >= 4 and <= 10 => 21, - >= 11 and <= 16 => 20, - >= 17 and <= 22 => 19, - >= 23 and <= 28 => 18, - >= 29 and <= 34 => 17, - >= 35 and <= 41 => 16, - >= 42 and <= 45 => 15, - _ => sectorsToCopy + >= 0 and <= 3 => 22, + <= 10 => 21, + <= 16 => 20, + <= 22 => 19, + <= 28 => 18, + <= 34 => 17, + <= 41 => 16, + <= 45 => 15, + _ => sectorsToCopy }; Array.Copy(data, header.DataSize / 2 + copiedSectors * 512, twiggyCache,