fixed bug when allocating xms
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@932
This commit is contained in:
parent
43fc38c1de
commit
99fa64e36c
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue