diff options
| author | bunnei <bunneidev@gmail.com> | 2021-06-02 15:29:09 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-02 15:29:09 -0700 |
| commit | 4ea171fa5e50723d50b57b26aaaca2fac30eea57 (patch) | |
| tree | ef2f0869252f59b0b8aeb62a48e2a233c0f94664 /src/core/hle/kernel/k_synchronization_object.cpp | |
| parent | d6006e9a3f0ea2b9fca17174542b5aba131dd294 (diff) | |
| parent | a0e4c2e1fc8d3ce33948a0ec6a840960f1ceb484 (diff) | |
Merge pull request #6308 from Morph1984/result
general: Replace RESULT_NAME with ResultName
Diffstat (limited to 'src/core/hle/kernel/k_synchronization_object.cpp')
| -rw-r--r-- | src/core/hle/kernel/k_synchronization_object.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_synchronization_object.cpp b/src/core/hle/kernel/k_synchronization_object.cpp index 45380dea0..f168b4f21 100644 --- a/src/core/hle/kernel/k_synchronization_object.cpp +++ b/src/core/hle/kernel/k_synchronization_object.cpp @@ -38,7 +38,7 @@ ResultCode KSynchronizationObject::Wait(KernelCore& kernel_ctx, s32* out_index, if (objects[i]->IsSignaled()) { *out_index = i; slp.CancelSleep(); - return RESULT_SUCCESS; + return ResultSuccess; } } @@ -97,7 +97,7 @@ ResultCode KSynchronizationObject::Wait(KernelCore& kernel_ctx, s32* out_index, kernel_ctx.TimeManager().UnscheduleTimeEvent(thread); // Get the wait result. - ResultCode wait_result{RESULT_SUCCESS}; + ResultCode wait_result{ResultSuccess}; s32 sync_index = -1; { KScopedSchedulerLock lock(kernel_ctx); |
