summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2021-05-10 16:03:39 -0700
committerGravatar bunnei2021-05-10 20:34:38 -0700
commit41928dfdda96528f2c99d6ee00989a365f1a7ab1 (patch)
tree0b50275541035f0dcc5bf52e077b4ba5bbb64828 /src
parenthle: service: sm: Improve Initialize implementation. (diff)
downloadyuzu-41928dfdda96528f2c99d6ee00989a365f1a7ab1.tar.gz
yuzu-41928dfdda96528f2c99d6ee00989a365f1a7ab1.tar.xz
yuzu-41928dfdda96528f2c99d6ee00989a365f1a7ab1.zip
hle: service: sm: Use RegisterNamedService to register the service.
Diffstat (limited to 'src')
-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
208 208
209 system.GetFileSystemController().CreateFactories(*system.GetFilesystem(), false); 209 system.GetFileSystemController().CreateFactories(*system.GetFilesystem(), false);
210 210
211 SM::ServiceManager::InstallInterfaces(sm, system); 211 system.Kernel().RegisterNamedService("sm:", SM::ServiceManager::InterfaceFactory);
212 212
213 Account::InstallInterfaces(system); 213 Account::InstallInterfaces(system);
214 AM::InstallInterfaces(*sm, *nv_flinger, system); 214 AM::InstallInterfaces(*sm, *nv_flinger, system);