mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-21 22:48:23 +00:00
frontend/controller: Eliminate dependency on the global system instance
This commit is contained in:
parent
d2d0909b84
commit
9861290969
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