finalize process when requested by uMenu

This commit is contained in:
lizzie
2026-05-21 05:52:31 +00:00
parent 7c035d5df0
commit 7275857304
5 changed files with 14 additions and 10 deletions
+3 -2
View File
@@ -607,8 +607,9 @@ MainWindow::MainWindow(bool has_broken_vulkan)
std::filesystem::path const sd_dir = Common::FS::GetEdenPathString(Common::FS::EdenPath::SDMCDir);
auto const path = (sd_dir / "ulaunch" / "bin" / "uMenu" / "main").string();
auto const program_id = 0x010000000000FFFF;
auto params = LibraryAppletParameters(program_id, Service::AM::AppletId::UlauncherUmenu);
params.launch_type = Service::AM::LaunchType::FrontendInitiated;
auto const applet_id = Service::AM::AppletId::UlauncherUmenu;
auto params = LibraryAppletParameters(program_id, applet_id);
QtCommon::system->GetFrontendAppletHolder().SetCurrentAppletId(applet_id);
BootGame(QString::fromStdString(path), params);
}
}