[NTVDM]: Fix VDDInstallIOHook.

svn path=/branches/ntvdm/; revision=61369
This commit is contained in:
Hermès Bélusca-Maïto 2013-12-24 13:03:04 +00:00
parent bd4f41283c
commit 5005df3ef3

View file

@ -557,11 +557,12 @@ VDDInstallIOHook(HANDLE hVdd,
IoPortProc[i].IoHandlers.OutsD = NULL; IoPortProc[i].IoHandlers.OutsD = NULL;
/* Save our handlers */ /* Save our handlers */
IoPortProc[i].VddIoHandlers = *IOhandler; // IOhandler[i]; ????????? IoPortProc[i].VddIoHandlers = *IOhandler;
} }
/* Go to next range */ /* Go to the next range */
++pPortRange; ++pPortRange;
++IOhandler;
} }
return TRUE; return TRUE;
@ -601,7 +602,7 @@ VDDDeInstallIOHook(HANDLE hVdd,
ZeroMemory(&IoPortProc[i], sizeof(IoPortProc[i])); ZeroMemory(&IoPortProc[i], sizeof(IoPortProc[i]));
} }
/* Go to next range */ /* Go to the next range */
++pPortRange; ++pPortRange;
} }
} }