1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-09-11 08:46:32 -05:00

frontend/controller: Eliminate dependency on the global system instance

This commit is contained in:
Lioncash
2020-09-25 19:13:10 -04:00
parent 4d4afc1502
commit 3e4a0a13cb
3 changed files with 14 additions and 5 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) {