Fixed obvious mistake related to selecting destination

This commit is contained in:
Huntereb 2019-11-01 21:22:44 -04:00
parent be930ec759
commit 3ac3d7f566
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,6 @@ namespace inst::ui {
} }
namespace netInstStuff{ namespace netInstStuff{
FsStorageId m_destStorageId = FsStorageId_SdCard;
void InitializeServerSocket() try void InitializeServerSocket() try
{ {
@ -118,6 +117,7 @@ namespace netInstStuff{
appletLockExit(); appletLockExit();
inst::ui::loadInstallScreen(); inst::ui::loadInstallScreen();
bool nspInstalled = true; bool nspInstalled = true;
FsStorageId m_destStorageId = FsStorageId_SdCard;
if (ourStorage) m_destStorageId = FsStorageId_NandUser; if (ourStorage) m_destStorageId = FsStorageId_NandUser;

View File

@ -71,13 +71,13 @@ namespace inst::ui {
} }
namespace nspInstStuff { namespace nspInstStuff {
FsStorageId m_destStorageId = FsStorageId_SdCard;
void installNspFromFile(std::vector<std::filesystem::path> ourNspList, int whereToInstall) void installNspFromFile(std::vector<std::filesystem::path> ourNspList, int whereToInstall)
{ {
appletLockExit(); appletLockExit();
inst::ui::loadInstallScreen(); inst::ui::loadInstallScreen();
bool nspInstalled = true; bool nspInstalled = true;
FsStorageId m_destStorageId = FsStorageId_SdCard;
if (whereToInstall) m_destStorageId = FsStorageId_NandUser; if (whereToInstall) m_destStorageId = FsStorageId_NandUser;