Fixed drive mapping in GET ALLOCATION.

oldstable
Markus Amsler 2004-08-09 23:39:12 +00:00 committed by Alexandre Julliard
parent d134ca1ea8
commit 448dc4fa1e
1 changed files with 2 additions and 1 deletions

View File

@ -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 );