Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Merge pull request #2228 from DarkLordZach/applet-manager-p1

bunnei39d711573072
diff --cc src/core/core.cpp
index 175a5f2ea5,aa578a589e..7106151bd8
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@@ -110,13 -118,11 +115,8 @@@ struct System::Impl
content_provider = std::make_unique<FileSys::ContentProviderUnion>();
/// Create default implementations of applets if one is not provided.
- if (profile_selector == nullptr)
- profile_selector = std::make_unique<Core::Frontend::DefaultProfileSelectApplet>();
- if (software_keyboard == nullptr)
- software_keyboard = std::make_unique<Core::Frontend::DefaultSoftwareKeyboardApplet>();
- if (web_browser == nullptr)
- web_browser = std::make_unique<Core::Frontend::DefaultWebBrowserApplet>();
+ applet_manager.SetDefaultAppletsIfMissing();
- auto main_process = Kernel::Process::Create(system, "main");
- kernel.MakeCurrentProcess(main_process.get());
-
telemetry_session = std::make_unique<Core::TelemetrySession>();
service_manager = std::make_shared<Service::SM::ServiceManager>();