summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-05-10 16:03:39 -0700
committerbunnei <bunneidev@gmail.com>2021-05-10 20:34:38 -0700
commit41928dfdda96528f2c99d6ee00989a365f1a7ab1 (patch)
tree0b50275541035f0dcc5bf52e077b4ba5bbb64828
parent934b2d8842f09a8df827cd4fd5130124788b4288 (diff)
hle: service: sm: Use RegisterNamedService to register the service.
-rw-r--r--src/core/hle/service/service.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp
index f3fd0f534..d7e09e8f1 100644
--- a/src/core/hle/service/service.cpp
+++ b/src/core/hle/service/service.cpp
@@ -208,7 +208,7 @@ Services::Services(std::shared_ptr<SM::ServiceManager>& sm, Core::System& system
system.GetFileSystemController().CreateFactories(*system.GetFilesystem(), false);
- SM::ServiceManager::InstallInterfaces(sm, system);
+ system.Kernel().RegisterNamedService("sm:", SM::ServiceManager::InterfaceFactory);
Account::InstallInterfaces(system);
AM::InstallInterfaces(*sm, *nv_flinger, system);