frontend/controller: Eliminate dependency on the global system instance
This commit is contained in:
parent
4d4afc1502
commit
3e4a0a13cb
3 changed files with 14 additions and 5 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