summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-08-30 22:59:30 +0200
committerZach Hilman <zachhilman@gmail.com>2018-09-04 20:29:19 +0200
commit8974771334aceaaba0912887dacfd3eb1eb0bee6 (patch)
treea2a8e941e81604c4146633ec46b5b0a70b5c7022
parentnsp: Comply with style and performance guidelines (diff)
downloadyuzu-8974771334aceaaba0912887dacfd3eb1eb0bee6.tar
yuzu-8974771334aceaaba0912887dacfd3eb1eb0bee6.tar.gz
yuzu-8974771334aceaaba0912887dacfd3eb1eb0bee6.tar.bz2
yuzu-8974771334aceaaba0912887dacfd3eb1eb0bee6.tar.lz
yuzu-8974771334aceaaba0912887dacfd3eb1eb0bee6.tar.xz
yuzu-8974771334aceaaba0912887dacfd3eb1eb0bee6.tar.zst
yuzu-8974771334aceaaba0912887dacfd3eb1eb0bee6.zip
-rw-r--r--src/yuzu/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index e7722cf95..d7c5d813f 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -814,7 +814,7 @@ void GMainWindow::OnMenuInstallToNAND() {
if (filename.endsWith("nsp", Qt::CaseInsensitive)) {
nsp = std::make_shared<FileSys::NSP>(
vfs->OpenFile(filename.toStdString(), FileSys::Mode::Read));
- if (!nsp->IsExtractedType())
+ if (nsp->IsExtractedType())
failed();
} else {
const auto xci = std::make_shared<FileSys::XCI>(