فهرست منبع

hle: service: sm: Use RegisterNamedService to register the service.

bunnei 5 سال پیش
والد
کامیت
41928dfdda
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/core/hle/service/service.cpp

+ 1 - 1
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);
     system.GetFileSystemController().CreateFactories(*system.GetFilesystem(), false);
 
 
-    SM::ServiceManager::InstallInterfaces(sm, system);
+    system.Kernel().RegisterNamedService("sm:", SM::ServiceManager::InterfaceFactory);
 
 
     Account::InstallInterfaces(system);
     Account::InstallInterfaces(system);
     AM::InstallInterfaces(*sm, *nv_flinger, system);
     AM::InstallInterfaces(*sm, *nv_flinger, system);