From 6465b316fc698d2006ef1221f75e38701517b396 Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Fri, 19 Jun 2020 04:00:51 +0100 Subject: [PATCH] Disable support for CHD v5 until it can be fixed properly. --- Aaru.Images/CHD/Read.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Aaru.Images/CHD/Read.cs b/Aaru.Images/CHD/Read.cs index 57f7cf5ac..748eb7815 100644 --- a/Aaru.Images/CHD/Read.cs +++ b/Aaru.Images/CHD/Read.cs @@ -337,6 +337,9 @@ namespace Aaru.DiscImages case 5: { + // TODO: Check why reading is misaligned + throw new ImageNotSupportedException("CHD version 5 is not yet supported."); + ChdHeaderV5 hdrV5 = Marshal.ByteArrayToStructureBigEndian(buffer); AaruConsole.DebugWriteLine("CHD plugin", "hdrV5.tag = \"{0}\"",