Merge pull request #4726 from lioncash/applet

frontend/controller: Eliminate dependency on the global system instance
This commit is contained in:
David
2020-09-30 21:22:45 +10:00
committed by GitHub
4 changed files with 15 additions and 6 deletions

View File

@ -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) {