[PATCH 2/2] win16/int21: set 11-bit for fixed drive.
Oleksij Rempel
bug-track at fisher-privat.net
Fri May 25 03:58:50 CDT 2012
This bit should tell if drive support 0x440d, 0x440f, 0x4408 requestes.
Signed-off-by: Oleksij Rempel <bug-track at fisher-privat.net>
---
dlls/krnl386.exe16/int21.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/dlls/krnl386.exe16/int21.c b/dlls/krnl386.exe16/int21.c
index 45b3187..69edfef 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;
--
1.7.9.5
More information about the wine-patches
mailing list