From 6429c784e6557c03ae75218ae266854017742bfd Mon Sep 17 00:00:00 2001 From: Natalia Portillo Date: Mon, 6 Sep 2021 03:28:53 +0100 Subject: [PATCH] Enlarge ATA command buffer size in Windows to 256 sectors. Fixes #650 --- Aaru.Devices/Windows/Structs.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Aaru.Devices/Windows/Structs.cs b/Aaru.Devices/Windows/Structs.cs index 5fc244b19..82a6f13f6 100644 --- a/Aaru.Devices/Windows/Structs.cs +++ b/Aaru.Devices/Windows/Structs.cs @@ -114,7 +114,7 @@ namespace Aaru.Devices.Windows public AtaPassThroughEx aptd; public uint filler; - [MarshalAs(UnmanagedType.ByValArray, SizeConst = 64 * 512)] + [MarshalAs(UnmanagedType.ByValArray, SizeConst = 256 * 512)] public byte[] dataBuffer; }