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

Rein Klazes wijn at online.nl
Sun Jun 14 07:27:25 CDT 2009


fixes bug #2720
---
 dlls/winedos/int21.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/winedos/int21.c b/dlls/winedos/int21.c
index 79aa8ea..16b2359 100644
--- a/dlls/winedos/int21.c
+++ b/dlls/winedos/int21.c
@@ -4592,7 +4592,7 @@ void WINAPI DOSVM_Int21Handler( CONTEXT86 *context )
             if (INT21_FillDrivePB( drive ))
             {
                 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 );
             }
             else
-- 
1.6.3.1




More information about the wine-patches mailing list