mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-24 16:27:52 -05:00
Merge pull request #4726 from lioncash/applet
frontend/controller: Eliminate dependency on the global system instance
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user