diff options
author | bunnei <bunneidev@gmail.com> | 2019-11-03 10:25:41 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2019-11-03 10:25:41 +0100 |
commit | ece5287843403da0bdaeccef872f771fac61967a (patch) | |
tree | add42c953729bec50fe1b31c5d518ffca5615e2e /src | |
parent | kernel: events: Remove ResetType::Automatic. (diff) | |
download | yuzu-ece5287843403da0bdaeccef872f771fac61967a.tar yuzu-ece5287843403da0bdaeccef872f771fac61967a.tar.gz yuzu-ece5287843403da0bdaeccef872f771fac61967a.tar.bz2 yuzu-ece5287843403da0bdaeccef872f771fac61967a.tar.lz yuzu-ece5287843403da0bdaeccef872f771fac61967a.tar.xz yuzu-ece5287843403da0bdaeccef872f771fac61967a.tar.zst yuzu-ece5287843403da0bdaeccef872f771fac61967a.zip |
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/kernel/readable_event.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hle/kernel/readable_event.cpp b/src/core/hle/kernel/readable_event.cpp index 7c291b426..d8ac97aa1 100644 --- a/src/core/hle/kernel/readable_event.cpp +++ b/src/core/hle/kernel/readable_event.cpp @@ -23,8 +23,10 @@ void ReadableEvent::Acquire(Thread* thread) { } void ReadableEvent::Signal() { - signaled = true; - WakeupAllWaitingThreads(); + if (!signaled) { + signaled = true; + WakeupAllWaitingThreads(); + }; } void ReadableEvent::Clear() { |