diff --git a/source/netInstall.cpp b/source/netInstall.cpp index c59e1a1..ed65553 100755 --- a/source/netInstall.cpp +++ b/source/netInstall.cpp @@ -58,7 +58,6 @@ namespace inst::ui { } namespace netInstStuff{ - FsStorageId m_destStorageId = FsStorageId_SdCard; void InitializeServerSocket() try { @@ -118,6 +117,7 @@ namespace netInstStuff{ appletLockExit(); inst::ui::loadInstallScreen(); bool nspInstalled = true; + FsStorageId m_destStorageId = FsStorageId_SdCard; if (ourStorage) m_destStorageId = FsStorageId_NandUser; diff --git a/source/nspInstall.cpp b/source/nspInstall.cpp index 91cf511..f3581da 100755 --- a/source/nspInstall.cpp +++ b/source/nspInstall.cpp @@ -71,13 +71,13 @@ namespace inst::ui { } namespace nspInstStuff { - FsStorageId m_destStorageId = FsStorageId_SdCard; void installNspFromFile(std::vector ourNspList, int whereToInstall) { appletLockExit(); inst::ui::loadInstallScreen(); bool nspInstalled = true; + FsStorageId m_destStorageId = FsStorageId_SdCard; if (whereToInstall) m_destStorageId = FsStorageId_NandUser;