From 23bc1b604b9b1ba5fe0f69a02ec6525d07c7386d Mon Sep 17 00:00:00 2001 From: Huntereb Date: Wed, 6 Nov 2019 17:09:47 -0500 Subject: [PATCH] Fix mainPage not allowing you to install nszs --- source/ui/mainPage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/ui/mainPage.cpp b/source/ui/mainPage.cpp index 501f981..ce41e97 100755 --- a/source/ui/mainPage.cpp +++ b/source/ui/mainPage.cpp @@ -55,11 +55,11 @@ namespace inst::ui { } void MainPage::installMenuItem_Click() { - if (inst::util::getDirectoryFiles("sdmc:/", {".nsp"}).size()) { + if (inst::util::getDirectoryFiles("sdmc:/", {".nsp", ".nsz"}).size()) { mainApp->nspinstPage->drawMenuItems(true); mainApp->LoadLayout(mainApp->nspinstPage); } else { - mainApp->CreateShowDialog("No NSP files found!", "Copy your NSP files to the root of your SD card!", {"OK"}, true); + mainApp->CreateShowDialog("No NSP or NSZ files found!", "Copy them to the root of your SD card!", {"OK"}, true); } }