From 3ac3d7f5664206fc652797cebfcdc9bb0b9adfc8 Mon Sep 17 00:00:00 2001 From: Huntereb Date: Fri, 1 Nov 2019 21:22:44 -0400 Subject: [PATCH] Fixed obvious mistake related to selecting destination --- source/netInstall.cpp | 2 +- source/nspInstall.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;