Fix for INT21_GetFreeDiskSpace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changelog:
	wine/dlls/winedos/int21.c: INT21_GetFreeDiskSpace()
	The drive parameter is found in the DL register
-- 
Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/dlls/winedos/int21.c
===================================================================
RCS file: /home/wine/wine/dlls/winedos/int21.c,v
retrieving revision 1.48
diff -u -r1.48 int21.c
--- wine/dlls/winedos/int21.c	15 Nov 2003 00:13:21 -0000	1.48
+++ wine/dlls/winedos/int21.c	24 Nov 2003 22:01:07 -0000
@@ -3168,7 +3168,7 @@
     DWORD cluster_sectors, sector_bytes, free_clusters, total_clusters;
     WCHAR root[] = {'A',':','\\',0};
 
-    root[0] += INT21_MapDrive(BL_reg(context));
+    root[0] += INT21_MapDrive(DL_reg(context));
     if (!GetDiskFreeSpaceW( root, &cluster_sectors, &sector_bytes,
                             &free_clusters, &total_clusters )) return 0;
     SET_AX( context, cluster_sectors );


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux