Make home button not work during installs, thanks @DarkMatterCore !
This commit is contained in:
parent
cee9898a99
commit
1374370c78
@ -115,7 +115,7 @@ namespace netInstStuff{
|
||||
void installNspLan(std::vector<std::string> ourUrlList, int ourStorage)
|
||||
{
|
||||
inst::util::initInstallServices();
|
||||
appletLockExit();
|
||||
if (appletGetAppletType() == AppletType_Application || appletGetAppletType() == AppletType_SystemApplication) appletBeginBlockingHomeButton(0);
|
||||
inst::ui::loadInstallScreen();
|
||||
bool nspInstalled = true;
|
||||
FsStorageId m_destStorageId = FsStorageId_SdCard;
|
||||
@ -162,7 +162,7 @@ namespace netInstStuff{
|
||||
}
|
||||
|
||||
printf("Done");
|
||||
appletUnlockExit();
|
||||
if (appletGetAppletType() == AppletType_Application || appletGetAppletType() == AppletType_SystemApplication) appletEndBlockingHomeButton();
|
||||
inst::ui::loadMainMenu();
|
||||
inst::util::deinitInstallServices();
|
||||
return;
|
||||
|
@ -82,7 +82,7 @@ namespace nspInstStuff {
|
||||
void installNspFromFile(std::vector<std::filesystem::path> ourNspList, int whereToInstall)
|
||||
{
|
||||
inst::util::initInstallServices();
|
||||
appletLockExit();
|
||||
if (appletGetAppletType() == AppletType_Application || appletGetAppletType() == AppletType_SystemApplication) appletBeginBlockingHomeButton(0);
|
||||
inst::ui::loadInstallScreen();
|
||||
bool nspInstalled = true;
|
||||
FsStorageId m_destStorageId = FsStorageId_SdCard;
|
||||
@ -156,7 +156,7 @@ namespace nspInstStuff {
|
||||
}
|
||||
|
||||
printf("Done");
|
||||
appletUnlockExit();
|
||||
if (appletGetAppletType() == AppletType_Application || appletGetAppletType() == AppletType_SystemApplication) appletEndBlockingHomeButton();
|
||||
inst::ui::loadMainMenu();
|
||||
inst::util::deinitInstallServices();
|
||||
return;
|
||||
|
Reference in New Issue
Block a user