Oleksij Rempel : krnl386: Set 11-bit for fixed drive.

Alexandre Julliard julliard at winehq.org
Fri May 25 10:52:48 CDT 2012


Module: wine
Branch: master
Commit: 3a8eae3191a71b8783e1215701d667beb1738850
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=3a8eae3191a71b8783e1215701d667beb1738850

Author: Oleksij Rempel <bug-track at fisher-privat.net>
Date:   Fri May 25 10:58:50 2012 +0200

krnl386: Set 11-bit for fixed drive.

---

 dlls/krnl386.exe16/int21.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dlls/krnl386.exe16/int21.c b/dlls/krnl386.exe16/int21.c
index 14dbdfe..f25194b 100644
--- a/dlls/krnl386.exe16/int21.c
+++ b/dlls/krnl386.exe16/int21.c
@@ -2495,6 +2495,10 @@ static void INT21_Ioctl_Block( CONTEXT *context )
             /* CDROM should be set to remote. If it set the app will
              * call int2f to check if it cdrom or remote drive. */
             SET_DX( context, (1<<12) );
+        else if (drivetype == DRIVE_FIXED)
+            /* This should define if drive support 0x0d, 0x0f and 0x08
+             * requests. The local fixed drive should do. */
+            SET_DX( context, (1<<11) );
         else
             SET_DX( context, 0 ); /* FIXME: use driver attr here */
         break;




More information about the wine-cvs mailing list