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

Alexandre Julliard julliard at winehq.org
Mon Jun 15 07:59:06 CDT 2009


Module: wine
Branch: master
Commit: 1591e3a76285b0331e175446f3274be45c2a3395
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1591e3a76285b0331e175446f3274be45c2a3395

Author: Rein Klazes <wijn at online.nl>
Date:   Sun Jun 14 14:27:25 2009 +0200

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

---

 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




More information about the wine-cvs mailing list