1
0
Fork 0

fixed bug when allocating xms

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@932
This commit is contained in:
Ulf Wohlers 2003-04-14 17:03:16 +00:00
parent 43fc38c1de
commit 99fa64e36c

View file

@ -396,7 +396,7 @@ Bitu XMS_Handler(void) {
reg_bl = XMS_QueryFreeMemory(reg_ax,reg_dx);
break;
case XMS_ALLOCATE_EXTENDED_MEMORY: /* 09 */
reg_bl = XMS_AllocateMemory(reg_ax,reg_dx);
reg_bl = XMS_AllocateMemory(reg_dx,reg_dx);
reg_ax = (reg_bl==0); // set ax to success/failure
break;
case XMS_FREE_EXTENDED_MEMORY: /* 0a */