winedos: int21, function 32h returns data in DS:BX, not DS:DX.

This commit is contained in:
Rein Klazes 2009-06-14 14:27:25 +02:00 committed by Alexandre Julliard
parent 7f77207769
commit 1591e3a762
1 changed files with 1 additions and 1 deletions

View File

@ -4592,7 +4592,7 @@ void WINAPI DOSVM_Int21Handler( CONTEXT86 *context )
if (INT21_FillDrivePB( drive )) if (INT21_FillDrivePB( drive ))
{ {
SET_AL( context, 0x00 ); /* success */ SET_AL( context, 0x00 ); /* success */
SET_DX( context, offsetof( INT21_HEAP, misc_dpb_list[drive] ) ); SET_BX( context, offsetof( INT21_HEAP, misc_dpb_list[drive] ) );
context->SegDs = INT21_GetHeapSelector( context ); context->SegDs = INT21_GetHeapSelector( context );
} }
else else