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/semaphore.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/semaphore.cpp')
-rw-r--r-- | src/core/hle/kernel/semaphore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/semaphore.cpp b/src/core/hle/kernel/semaphore.cpp index 6ccdb2a8f..24d41c0b3 100644 --- a/src/core/hle/kernel/semaphore.cpp +++ b/src/core/hle/kernel/semaphore.cpp @@ -32,7 +32,7 @@ public: return available_count > 0; } - ResultVal<bool> Wait() override { + ResultVal<bool> ShouldWait() override { return MakeResult<bool>(!IsAvailable()); } |