Oleksij Rempel : krnl386: Set remote bit for cdrom.
Alexandre Julliard
julliard at winehq.org
Fri May 25 10:52:48 CDT 2012
Module: wine
Branch: master
Commit: 75555c3011484b980f4e2b8dc6d237abbba4a0ea
URL: http://source.winehq.org/git/wine.git/?a=commit;h=75555c3011484b980f4e2b8dc6d237abbba4a0ea
Author: Oleksij Rempel <bug-track at fisher-privat.net>
Date: Fri May 25 10:58:49 2012 +0200
krnl386: Set remote bit for cdrom.
---
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 a1bb8ce..14dbdfe 100644
--- a/dlls/krnl386.exe16/int21.c
+++ b/dlls/krnl386.exe16/int21.c
@@ -2491,6 +2491,10 @@ static void INT21_Ioctl_Block( CONTEXT *context )
if (drivetype == DRIVE_REMOTE)
SET_DX( context, (1<<9) | (1<<12) ); /* remote + no direct IO */
+ else if (drivetype == DRIVE_CDROM)
+ /* 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
SET_DX( context, 0 ); /* FIXME: use driver attr here */
break;
More information about the wine-cvs
mailing list