From 448dc4fa1ee7ab63a0613e0acaf94d219410b27d Mon Sep 17 00:00:00 2001 From: Markus Amsler Date: Mon, 9 Aug 2004 23:39:12 +0000 Subject: [PATCH] Fixed drive mapping in GET ALLOCATION. --- dlls/winedos/int21.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/winedos/int21.c b/dlls/winedos/int21.c index 6f83654761c..052cbb13df8 100644 --- a/dlls/winedos/int21.c +++ b/dlls/winedos/int21.c @@ -3422,10 +3422,11 @@ static int INT21_GetFreeDiskSpace( CONTEXT86 *context ) * INT21_GetDriveAllocInfo * */ -static int INT21_GetDriveAllocInfo( CONTEXT86 *context, int drive ) +static int INT21_GetDriveAllocInfo( CONTEXT86 *context, BYTE drive ) { INT21_DPB *dpb; + drive = INT21_MapDrive( drive ); if (!INT21_FillDrivePB( drive )) return 0; dpb = &(INT21_GetHeapPointer()->misc_dpb_list[drive]); SET_AL( context, dpb->cluster_sectors + 1 );