krnl386: Set remote bit for cdrom.
This commit is contained in:
parent
a33037abd1
commit
75555c3011
|
@ -2491,6 +2491,10 @@ static void INT21_Ioctl_Block( CONTEXT *context )
|
||||||
|
|
||||||
if (drivetype == DRIVE_REMOTE)
|
if (drivetype == DRIVE_REMOTE)
|
||||||
SET_DX( context, (1<<9) | (1<<12) ); /* remote + no direct IO */
|
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
|
else
|
||||||
SET_DX( context, 0 ); /* FIXME: use driver attr here */
|
SET_DX( context, 0 ); /* FIXME: use driver attr here */
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue