From 8974771334aceaaba0912887dacfd3eb1eb0bee6 Mon Sep 17 00:00:00 2001
From: Zach Hilman <zachhilman@gmail.com>
Date: Thu, 30 Aug 2018 16:59:30 -0400
Subject: [PATCH] registration: Fix NSP installation errors

---
 src/yuzu/main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index e7722cf956..d7c5d813fa 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>(