Commit 1591e3a7 authored by Rein Klazes's avatar Rein Klazes Committed by Alexandre Julliard

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

parent 7f772077
...@@ -4592,7 +4592,7 @@ void WINAPI DOSVM_Int21Handler( CONTEXT86 *context ) ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment