diff options
author | bunnei <bunneidev@gmail.com> | 2022-04-07 02:44:06 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2022-04-08 23:13:22 +0200 |
commit | a7f73d606f596ab73cf794a76c06cd955033cada (patch) | |
tree | 55f4a3d1decb97c548f6ab33128aef4566f18c7c /src/core/hle/service/sm/sm.cpp | |
parent | hle: kernel: k_server_port: Release ref-counted host emulation members on Destroy. (diff) | |
download | yuzu-a7f73d606f596ab73cf794a76c06cd955033cada.tar yuzu-a7f73d606f596ab73cf794a76c06cd955033cada.tar.gz yuzu-a7f73d606f596ab73cf794a76c06cd955033cada.tar.bz2 yuzu-a7f73d606f596ab73cf794a76c06cd955033cada.tar.lz yuzu-a7f73d606f596ab73cf794a76c06cd955033cada.tar.xz yuzu-a7f73d606f596ab73cf794a76c06cd955033cada.tar.zst yuzu-a7f73d606f596ab73cf794a76c06cd955033cada.zip |
Diffstat (limited to 'src/core/hle/service/sm/sm.cpp')
-rw-r--r-- | src/core/hle/service/sm/sm.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/sm/sm.cpp b/src/core/hle/service/sm/sm.cpp index 2ac6dc596..13f5e08ec 100644 --- a/src/core/hle/service/sm/sm.cpp +++ b/src/core/hle/service/sm/sm.cpp @@ -153,6 +153,7 @@ ResultVal<Kernel::KClientSession*> SM::GetServiceImpl(Kernel::HLERequestContext& auto& port = port_result.Unwrap(); SCOPE_EXIT({ port->GetClientPort().Close(); }); + kernel.RegisterServerObject(&port->GetServerPort()); // Create a new session. Kernel::KClientSession* session{}; |