summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/semaphore.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-05-20 02:24:30 +0200
committerbunnei <bunneidev@gmail.com>2015-05-21 00:05:47 +0200
commit0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f (patch)
treebce96a583e8069dc22e508df62de6cd03f394efc /src/core/hle/kernel/semaphore.cpp
parentMerge pull request #783 from jroweboy/cond-wait (diff)
downloadyuzu-0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f.tar
yuzu-0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f.tar.gz
yuzu-0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f.tar.bz2
yuzu-0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f.tar.lz
yuzu-0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f.tar.xz
yuzu-0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f.tar.zst
yuzu-0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f.zip
Diffstat (limited to 'src/core/hle/kernel/semaphore.cpp')
-rw-r--r--src/core/hle/kernel/semaphore.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/kernel/semaphore.cpp b/src/core/hle/kernel/semaphore.cpp
index 5d6543ef4..dbb4c9b7f 100644
--- a/src/core/hle/kernel/semaphore.cpp
+++ b/src/core/hle/kernel/semaphore.cpp
@@ -54,6 +54,8 @@ ResultVal<s32> Semaphore::Release(s32 release_count) {
Acquire();
}
+ HLE::Reschedule(__func__);
+
return MakeResult<s32>(previous_count);
}