Merge pull request #4726 from lioncash/applet
frontend/controller: Eliminate dependency on the global system instance
This commit is contained in:
commit
f7808f5658
4 changed files with 15 additions and 6 deletions
|
@ -206,7 +206,8 @@ void AppletManager::SetDefaultAppletFrontendSet() {
|
|||
|
||||
void AppletManager::SetDefaultAppletsIfMissing() {
|
||||
if (frontend.controller == nullptr) {
|
||||
frontend.controller = std::make_unique<Core::Frontend::DefaultControllerApplet>();
|
||||
frontend.controller =
|
||||
std::make_unique<Core::Frontend::DefaultControllerApplet>(system.ServiceManager());
|
||||
}
|
||||
|
||||
if (frontend.e_commerce == nullptr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue