mirror of
https://github.com/wiiu-env/AutobootModule.git
synced 2024-11-22 02:49:16 +01:00
Fix loading the correct account when selecting the Wii U Menu or an applet in quick start menu
This commit is contained in:
parent
873521f884
commit
1bff430b7d
@ -105,6 +105,8 @@ bool getQuickBoot() {
|
|||||||
// load app launch param
|
// load app launch param
|
||||||
CCRSysCaffeineGetAppLaunchParam(&data);
|
CCRSysCaffeineGetAppLaunchParam(&data);
|
||||||
|
|
||||||
|
loadConsoleAccount(data.uuid);
|
||||||
|
|
||||||
// get launch info for id
|
// get launch info for id
|
||||||
nn::sl::LaunchInfo info;
|
nn::sl::LaunchInfo info;
|
||||||
auto result = database->GetLaunchInfoById(&info, data.titleId);
|
auto result = database->GetLaunchInfoById(&info, data.titleId);
|
||||||
@ -215,7 +217,6 @@ bool getQuickBoot() {
|
|||||||
auto err = MCP_GetTitleInfo(handle, info.titleId, &titleInfo);
|
auto err = MCP_GetTitleInfo(handle, info.titleId, &titleInfo);
|
||||||
MCP_Close(handle);
|
MCP_Close(handle);
|
||||||
if (err == 0) {
|
if (err == 0) {
|
||||||
loadConsoleAccount(data.uuid);
|
|
||||||
ACPAssignTitlePatch(&titleInfo);
|
ACPAssignTitlePatch(&titleInfo);
|
||||||
_SYSLaunchTitleWithStdArgsInNoSplash(info.titleId, nullptr);
|
_SYSLaunchTitleWithStdArgsInNoSplash(info.titleId, nullptr);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user