summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/server_session.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-02-13 22:01:44 +0100
committerFernandoS27 <fsahmkow27@gmail.com>2020-02-14 00:10:33 +0100
commit2bc949628dfa2efe9a18660b9d662e2a25cef9f9 (patch)
tree84b72d7b0fcf8838c34c9ae0943dc297fa539e5b /src/core/hle/kernel/server_session.cpp
parentCore: Set all hardware emulation constants in a single file. (diff)
downloadyuzu-2bc949628dfa2efe9a18660b9d662e2a25cef9f9.tar
yuzu-2bc949628dfa2efe9a18660b9d662e2a25cef9f9.tar.gz
yuzu-2bc949628dfa2efe9a18660b9d662e2a25cef9f9.tar.bz2
yuzu-2bc949628dfa2efe9a18660b9d662e2a25cef9f9.tar.lz
yuzu-2bc949628dfa2efe9a18660b9d662e2a25cef9f9.tar.xz
yuzu-2bc949628dfa2efe9a18660b9d662e2a25cef9f9.tar.zst
yuzu-2bc949628dfa2efe9a18660b9d662e2a25cef9f9.zip
Diffstat (limited to 'src/core/hle/kernel/server_session.cpp')
-rw-r--r--src/core/hle/kernel/server_session.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/server_session.cpp b/src/core/hle/kernel/server_session.cpp
index ca98fd984..4604e35c5 100644
--- a/src/core/hle/kernel/server_session.cpp
+++ b/src/core/hle/kernel/server_session.cpp
@@ -57,7 +57,7 @@ bool ServerSession::IsSignaled() const {
}
// Wait if we have no pending requests, or if we're currently handling a request.
- return !(pending_requesting_threads.empty() || currently_handling != nullptr);
+ return !pending_requesting_threads.empty() && currently_handling == nullptr;
}
void ServerSession::Acquire(Thread* thread) {