1
0
Fork 0

Fixed bug in 67 4c

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@686
This commit is contained in:
Ulf Wohlers 2003-02-22 14:09:41 +00:00
parent 836602a4a6
commit 8d71179417

View file

@ -551,7 +551,7 @@ static Bitu INT67_Handler(void) {
reg_ah=EMM_NO_ERROR;
break;
case 0x4c: /* Get Pages for one Handle */
if (!ValidHandle(reg_bx)) {reg_ah=EMM_INVALID_HANDLE;break;}
if (!ValidHandle(reg_dx)) {reg_ah=EMM_INVALID_HANDLE;break;}
reg_bx=emm_handles[reg_dx].pages;
reg_ah=EMM_NO_ERROR;
break;