diff options
author | bunnei <bunneidev@gmail.com> | 2015-01-20 23:41:12 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-01-22 02:47:49 +0100 |
commit | c68eb1569549ae49ae25c6c29cec2e10d8329f2d (patch) | |
tree | 4a8683aac99095884acaf488aa4d059f861138b3 /src/core/hle/kernel/thread.cpp | |
parent | Event: Fix implementation of "non-sticky" events. (diff) | |
download | yuzu-c68eb1569549ae49ae25c6c29cec2e10d8329f2d.tar yuzu-c68eb1569549ae49ae25c6c29cec2e10d8329f2d.tar.gz yuzu-c68eb1569549ae49ae25c6c29cec2e10d8329f2d.tar.bz2 yuzu-c68eb1569549ae49ae25c6c29cec2e10d8329f2d.tar.lz yuzu-c68eb1569549ae49ae25c6c29cec2e10d8329f2d.tar.xz yuzu-c68eb1569549ae49ae25c6c29cec2e10d8329f2d.tar.zst yuzu-c68eb1569549ae49ae25c6c29cec2e10d8329f2d.zip |
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 271828ea7..8a2cf8bf4 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -22,7 +22,7 @@ namespace Kernel { -ResultVal<bool> Thread::Wait() { +ResultVal<bool> Thread::ShouldWait() { return MakeResult<bool>(status != THREADSTATUS_DORMANT); } @@ -269,7 +269,7 @@ void Thread::ReleaseWaitObject(WaitObject* wait_object) { // Iterate through all waiting objects to check availability... for (auto itr = wait_objects.begin(); itr != wait_objects.end(); ++itr) { - auto res = (*itr)->Wait(); + auto res = (*itr)->ShouldWait(); if (*res && res.Succeeded()) wait_all_failed = true; |