From 2044013b5015a3d0ee7d7f614706cefdc9f5e3d5 Mon Sep 17 00:00:00 2001 From: Gliniak Date: Wed, 28 Aug 2024 22:56:28 +0200 Subject: [PATCH] [Kernel] Fixed issue with incorrect return code for APC --- src/xenia/kernel/xboxkrnl/xboxkrnl_threading.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/kernel/xboxkrnl/xboxkrnl_threading.cc b/src/xenia/kernel/xboxkrnl/xboxkrnl_threading.cc index 511f25bd9..1e5178e77 100644 --- a/src/xenia/kernel/xboxkrnl/xboxkrnl_threading.cc +++ b/src/xenia/kernel/xboxkrnl/xboxkrnl_threading.cc @@ -961,7 +961,7 @@ uint32_t NtWaitForSingleObjectEx(uint32_t object_handle, uint32_t wait_mode, object->Wait(3, wait_mode, alertable, timeout_ptr ? &timeout : nullptr); if (alertable) { if (result == X_STATUS_USER_APC) { - result = xeProcessUserApcs(nullptr); + xeProcessUserApcs(nullptr); } } } else {