diff options
author | bunnei <bunneidev@gmail.com> | 2015-01-19 09:30:55 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-01-22 02:47:48 +0100 |
commit | 69c5830ef2a0190803e176615d5cb16d5462b971 (patch) | |
tree | bcc120b9475c89a1d58a66817a74eac604786b2c /src/core/hle/kernel | |
parent | Session: Change to a WaitObject. (diff) | |
download | yuzu-69c5830ef2a0190803e176615d5cb16d5462b971.tar yuzu-69c5830ef2a0190803e176615d5cb16d5462b971.tar.gz yuzu-69c5830ef2a0190803e176615d5cb16d5462b971.tar.bz2 yuzu-69c5830ef2a0190803e176615d5cb16d5462b971.tar.lz yuzu-69c5830ef2a0190803e176615d5cb16d5462b971.tar.xz yuzu-69c5830ef2a0190803e176615d5cb16d5462b971.tar.zst yuzu-69c5830ef2a0190803e176615d5cb16d5462b971.zip |
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r-- | src/core/hle/kernel/event.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hle/kernel/event.cpp b/src/core/hle/kernel/event.cpp index 399730cb1..37f01652e 100644 --- a/src/core/hle/kernel/event.cpp +++ b/src/core/hle/kernel/event.cpp @@ -33,6 +33,10 @@ public: } ResultVal<bool> Acquire() override { + // Release the event if it's not sticky... + if (reset_type != RESETTYPE_STICKY) + signaled = false; + return MakeResult<bool>(true); } }; |