Fixed NtWaitForSingleObjectEx. Again.
This commit is contained in:
parent
1b57d2ee85
commit
e2b2d0562e
|
@ -1127,7 +1127,7 @@ SHIM_CALL NtWaitForSingleObjectEx_shim(
|
||||||
if (XSUCCEEDED(result)) {
|
if (XSUCCEEDED(result)) {
|
||||||
uint64_t timeout = timeout_ptr ? SHIM_MEM_64(timeout_ptr) : 0;
|
uint64_t timeout = timeout_ptr ? SHIM_MEM_64(timeout_ptr) : 0;
|
||||||
result = object->Wait(
|
result = object->Wait(
|
||||||
3, 1, alertable,
|
3, wait_mode, alertable,
|
||||||
timeout_ptr ? &timeout : NULL);
|
timeout_ptr ? &timeout : NULL);
|
||||||
object->Release();
|
object->Release();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue