summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-04-21 07:18:56 +0200
committerbunnei <bunneidev@gmail.com>2021-05-06 01:40:52 +0200
commitaa2844bcf9b2b9bca2ce263270b963ffd13b05e7 (patch)
tree63af3d8c8b09f5fb834f764dd6a557ac0900f664 /src/core/hle/kernel/svc.cpp
parenthle: kernel: Migrate KResourceLimit to KAutoObject. (diff)
downloadyuzu-aa2844bcf9b2b9bca2ce263270b963ffd13b05e7.tar
yuzu-aa2844bcf9b2b9bca2ce263270b963ffd13b05e7.tar.gz
yuzu-aa2844bcf9b2b9bca2ce263270b963ffd13b05e7.tar.bz2
yuzu-aa2844bcf9b2b9bca2ce263270b963ffd13b05e7.tar.lz
yuzu-aa2844bcf9b2b9bca2ce263270b963ffd13b05e7.tar.xz
yuzu-aa2844bcf9b2b9bca2ce263270b963ffd13b05e7.tar.zst
yuzu-aa2844bcf9b2b9bca2ce263270b963ffd13b05e7.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/svc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index a78bfd1da..fa85bd631 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -328,7 +328,7 @@ static ResultCode ConnectToNamedPort(Core::System& system, Handle* out_handle,
// Return the client session
auto& handle_table = kernel.CurrentProcess()->GetHandleTable();
- CASCADE_RESULT(*out_handle, handle_table.Create(client_session));
+ handle_table.Add(out_handle, client_session);
return RESULT_SUCCESS;
}