summaryrefslogtreecommitdiff
path: root/src/core/hle
diff options
context:
space:
mode:
authorGravatar Lioncash2020-09-25 19:13:10 -0400
committerGravatar Lioncash2020-09-25 19:23:20 -0400
commit3e4a0a13cb2f2e02bdb623d763a63a71c2c5da7a (patch)
treed9c75f026df874c9f3889bd21a7df45e7afa9221 /src/core/hle
parentMerge pull request #4717 from lioncash/debug (diff)
downloadyuzu-3e4a0a13cb2f2e02bdb623d763a63a71c2c5da7a.tar.gz
yuzu-3e4a0a13cb2f2e02bdb623d763a63a71c2c5da7a.tar.xz
yuzu-3e4a0a13cb2f2e02bdb623d763a63a71c2c5da7a.zip
frontend/controller: Eliminate dependency on the global system instance
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/am/applets/applets.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/am/applets/applets.cpp b/src/core/hle/service/am/applets/applets.cpp
index 4e0800f9a..2b626bb40 100644
--- a/src/core/hle/service/am/applets/applets.cpp
+++ b/src/core/hle/service/am/applets/applets.cpp
@@ -206,7 +206,8 @@ void AppletManager::SetDefaultAppletFrontendSet() {
206 206
207void AppletManager::SetDefaultAppletsIfMissing() { 207void AppletManager::SetDefaultAppletsIfMissing() {
208 if (frontend.controller == nullptr) { 208 if (frontend.controller == nullptr) {
209 frontend.controller = std::make_unique<Core::Frontend::DefaultControllerApplet>(); 209 frontend.controller =
210 std::make_unique<Core::Frontend::DefaultControllerApplet>(system.ServiceManager());
210 } 211 }
211 212
212 if (frontend.e_commerce == nullptr) { 213 if (frontend.e_commerce == nullptr) {