Commit 448dc4fa authored by Markus Amsler's avatar Markus Amsler Committed by Alexandre Julliard

Fixed drive mapping in GET ALLOCATION.

parent d134ca1e
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment