From 2fba3dc7ba810bfa2f5977cd968cd7d69f3243e1 Mon Sep 17 00:00:00 2001 From: rocky Date: Fri, 16 Jul 2004 03:06:53 +0000 Subject: [PATCH] CDB for READ_CD has only 12 bytes. --- lib/MSWindows/win32_ioctl.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/MSWindows/win32_ioctl.c b/lib/MSWindows/win32_ioctl.c index 3098b07b..d775caf4 100644 --- a/lib/MSWindows/win32_ioctl.c +++ b/lib/MSWindows/win32_ioctl.c @@ -1,5 +1,5 @@ /* - $Id: win32_ioctl.c,v 1.13 2004/07/16 02:52:30 rocky Exp $ + $Id: win32_ioctl.c,v 1.14 2004/07/16 03:06:53 rocky Exp $ Copyright (C) 2004 Rocky Bernstein @@ -26,7 +26,7 @@ # include "config.h" #endif -static const char _rcsid[] = "$Id: win32_ioctl.c,v 1.13 2004/07/16 02:52:30 rocky Exp $"; +static const char _rcsid[] = "$Id: win32_ioctl.c,v 1.14 2004/07/16 03:06:53 rocky Exp $"; #include #include @@ -230,10 +230,6 @@ read_raw_sector (const _img_private_t *env, void *buf, lsn_t lsn) sptd.Cdb[9]=0xF8; /* Raw read, 2352 bytes per sector */ sptd.Cdb[10]=0; sptd.Cdb[11]=0; - sptd.Cdb[12]=0; - sptd.Cdb[13]=0; - sptd.Cdb[14]=0; - sptd.Cdb[15]=0; /* Send the command to drive */ success=DeviceIoControl(env->h_device_handle,