mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 22:02:58 +00:00
[NTVDM]: Fix VDDInstallIOHook.
svn path=/branches/ntvdm/; revision=61369
This commit is contained in:
parent
bd4f41283c
commit
5005df3ef3
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue