mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-16 04:07:57 -05:00
service: Remove two usages of the global system accessor
Removes more instances of reliance on global state.
This commit is contained in:
@ -43,7 +43,7 @@ void ServiceManager::InstallInterfaces(std::shared_ptr<ServiceManager> self,
|
||||
ASSERT(self->sm_interface.expired());
|
||||
|
||||
auto sm = std::make_shared<SM>(self, kernel);
|
||||
sm->InstallAsNamedPort();
|
||||
sm->InstallAsNamedPort(kernel);
|
||||
self->sm_interface = sm;
|
||||
self->controller_interface = std::make_unique<Controller>();
|
||||
}
|
||||
|
Reference in New Issue
Block a user