From e2b2d0562e1703c94c6037dd5771a5db971f13dc Mon Sep 17 00:00:00 2001 From: gibbed Date: Sat, 18 Jan 2014 08:00:16 -0800 Subject: [PATCH] Fixed NtWaitForSingleObjectEx. Again. --- src/xenia/kernel/xboxkrnl_threading.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }