summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-05-11 00:41:46 +0200
committerbunnei <bunneidev@gmail.com>2021-05-11 00:41:46 +0200
commit75f23ad494cc1576f12b27b626e3c0de6817a7de (patch)
tree61f2e2c884b44cf058fe8bb740db4a7877501926 /src/core/hle
parenthle: ipc: Add declarations for TIPC. (diff)
downloadyuzu-75f23ad494cc1576f12b27b626e3c0de6817a7de.tar
yuzu-75f23ad494cc1576f12b27b626e3c0de6817a7de.tar.gz
yuzu-75f23ad494cc1576f12b27b626e3c0de6817a7de.tar.bz2
yuzu-75f23ad494cc1576f12b27b626e3c0de6817a7de.tar.lz
yuzu-75f23ad494cc1576f12b27b626e3c0de6817a7de.tar.xz
yuzu-75f23ad494cc1576f12b27b626e3c0de6817a7de.tar.zst
yuzu-75f23ad494cc1576f12b27b626e3c0de6817a7de.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/kernel/k_client_port.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_client_port.cpp b/src/core/hle/kernel/k_client_port.cpp
index e14b915b9..4a12dee10 100644
--- a/src/core/hle/kernel/k_client_port.cpp
+++ b/src/core/hle/kernel/k_client_port.cpp
@@ -91,7 +91,7 @@ ResultCode KClientPort::CreateSession(KClientSession** out) {
// Create a new session.
KSession* session = KSession::Create(kernel);
if (session == nullptr) {
- /* Decrement the session count. */
+ // Decrement the session count.
const auto prev = num_sessions--;
if (prev == max_sessions) {
this->NotifyAvailable();