Fixed NtWaitForSingleObjectEx. Again.

This commit is contained in:
gibbed 2014-01-18 08:00:16 -08:00
parent 1b57d2ee85
commit e2b2d0562e
1 changed files with 1 additions and 1 deletions

View File

@ -1127,7 +1127,7 @@ SHIM_CALL NtWaitForSingleObjectEx_shim(
if (XSUCCEEDED(result)) {
uint64_t timeout = timeout_ptr ? SHIM_MEM_64(timeout_ptr) : 0;
result = object->Wait(
3, 1, alertable,
3, wait_mode, alertable,
timeout_ptr ? &timeout : NULL);
object->Release();
}