ServiceManager: pass down core reference
This commit is contained in:
parent
d940293d32
commit
181646679c
7 changed files with 25 additions and 16 deletions
|
@ -235,8 +235,8 @@ static bool AttemptLLE(const ServiceModuleInfo& service_module) {
|
|||
}
|
||||
|
||||
/// Initialize ServiceManager
|
||||
void Init(Core::System& core, std::shared_ptr<SM::ServiceManager>& sm) {
|
||||
SM::ServiceManager::InstallInterfaces(sm);
|
||||
void Init(Core::System& core) {
|
||||
SM::ServiceManager::InstallInterfaces(core);
|
||||
|
||||
for (const auto& service_module : service_module_map) {
|
||||
if (!AttemptLLE(service_module) && service_module.init_function != nullptr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue