diff options
author | bunnei <bunneidev@gmail.com> | 2021-04-22 06:53:56 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-05-06 01:40:52 +0200 |
commit | 7a068641006da739d6af5681a022018785379365 (patch) | |
tree | aee13360312f8fb9ab9b64310cc478fcc6a5efb1 /src/core/hle/service/sm/sm.h | |
parent | hle: kernel: Migrate KClientPort to KAutoObject. (diff) | |
download | yuzu-7a068641006da739d6af5681a022018785379365.tar yuzu-7a068641006da739d6af5681a022018785379365.tar.gz yuzu-7a068641006da739d6af5681a022018785379365.tar.bz2 yuzu-7a068641006da739d6af5681a022018785379365.tar.lz yuzu-7a068641006da739d6af5681a022018785379365.tar.xz yuzu-7a068641006da739d6af5681a022018785379365.tar.zst yuzu-7a068641006da739d6af5681a022018785379365.zip |
Diffstat (limited to 'src/core/hle/service/sm/sm.h')
-rw-r--r-- | src/core/hle/service/sm/sm.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/hle/service/sm/sm.h b/src/core/hle/service/sm/sm.h index aee9aefec..b0204c4bb 100644 --- a/src/core/hle/service/sm/sm.h +++ b/src/core/hle/service/sm/sm.h @@ -11,8 +11,8 @@ #include "common/concepts.h" #include "core/hle/kernel/k_client_port.h" +#include "core/hle/kernel/k_server_port.h" #include "core/hle/kernel/object.h" -#include "core/hle/kernel/server_port.h" #include "core/hle/result.h" #include "core/hle/service/service.h" @@ -24,7 +24,7 @@ namespace Kernel { class KClientPort; class KClientSession; class KernelCore; -class ServerPort; +class KServerPort; class SessionRequestHandler; } // namespace Kernel @@ -55,8 +55,7 @@ public: explicit ServiceManager(Kernel::KernelCore& kernel_); ~ServiceManager(); - ResultVal<std::shared_ptr<Kernel::ServerPort>> RegisterService(std::string name, - u32 max_sessions); + ResultVal<Kernel::KServerPort*> RegisterService(std::string name, u32 max_sessions); ResultCode UnregisterService(const std::string& name); ResultVal<Kernel::KClientPort*> GetServicePort(const std::string& name); |