diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-06-07 06:25:28 +0200 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2017-06-09 05:59:19 +0200 |
commit | 6f368abe13bbf980b41b0209ddd5ca067761028a (patch) | |
tree | 1323e29c159f50d8a68186c99142d7ed2c0f9237 /src/core/hle/service/service.cpp | |
parent | Service: Remove a few redundant namespace qualifiers (diff) | |
download | yuzu-6f368abe13bbf980b41b0209ddd5ca067761028a.tar yuzu-6f368abe13bbf980b41b0209ddd5ca067761028a.tar.gz yuzu-6f368abe13bbf980b41b0209ddd5ca067761028a.tar.bz2 yuzu-6f368abe13bbf980b41b0209ddd5ca067761028a.tar.lz yuzu-6f368abe13bbf980b41b0209ddd5ca067761028a.tar.xz yuzu-6f368abe13bbf980b41b0209ddd5ca067761028a.tar.zst yuzu-6f368abe13bbf980b41b0209ddd5ca067761028a.zip |
Diffstat (limited to 'src/core/hle/service/service.cpp')
-rw-r--r-- | src/core/hle/service/service.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp index f184736e0..d34968428 100644 --- a/src/core/hle/service/service.cpp +++ b/src/core/hle/service/service.cpp @@ -206,8 +206,9 @@ void AddService(Interface* interface_) { /// Initialize ServiceManager void Init() { - SM::g_service_manager = std::make_unique<SM::ServiceManager>(); - AddNamedPort(new SM::SRV); + SM::g_service_manager = std::make_shared<SM::ServiceManager>(); + SM::ServiceManager::InstallInterfaces(SM::g_service_manager); + AddNamedPort(new ERR::ERR_F); FS::ArchiveInit(); |