diff options
| author | german77 <juangerman-13@hotmail.com> | 2022-06-25 22:44:19 -0500 |
|---|---|---|
| committer | german77 <juangerman-13@hotmail.com> | 2022-06-26 20:21:37 -0500 |
| commit | a7d9be13840acd65d0d684666390758ede72c826 (patch) | |
| tree | 37485f63b09576444173d6a765abe0bb95dd45db /src/core/hle/kernel/k_thread_queue.h | |
| parent | abfd690601eaa567b60c5eb844a688fe85e7dcea (diff) | |
core: Replace all instances of ResultCode with Result
Diffstat (limited to 'src/core/hle/kernel/k_thread_queue.h')
| -rw-r--r-- | src/core/hle/kernel/k_thread_queue.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/core/hle/kernel/k_thread_queue.h b/src/core/hle/kernel/k_thread_queue.h index 4a7dbdd47..8d76ece81 100644 --- a/src/core/hle/kernel/k_thread_queue.h +++ b/src/core/hle/kernel/k_thread_queue.h @@ -14,10 +14,9 @@ public: virtual ~KThreadQueue() = default; virtual void NotifyAvailable(KThread* waiting_thread, KSynchronizationObject* signaled_object, - ResultCode wait_result); - virtual void EndWait(KThread* waiting_thread, ResultCode wait_result); - virtual void CancelWait(KThread* waiting_thread, ResultCode wait_result, - bool cancel_timer_task); + Result wait_result); + virtual void EndWait(KThread* waiting_thread, Result wait_result); + virtual void CancelWait(KThread* waiting_thread, Result wait_result, bool cancel_timer_task); private: KernelCore& kernel; @@ -28,7 +27,7 @@ class KThreadQueueWithoutEndWait : public KThreadQueue { public: explicit KThreadQueueWithoutEndWait(KernelCore& kernel_) : KThreadQueue(kernel_) {} - void EndWait(KThread* waiting_thread, ResultCode wait_result) override final; + void EndWait(KThread* waiting_thread, Result wait_result) override final; }; } // namespace Kernel |
