diff --git a/src/xenia/kernel/xboxkrnl_threading.cc b/src/xenia/kernel/xboxkrnl_threading.cc index 7f8ead4b5..59bb3d253 100644 --- a/src/xenia/kernel/xboxkrnl_threading.cc +++ b/src/xenia/kernel/xboxkrnl_threading.cc @@ -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(); }