Browse Source

registration: Fix NSP installation errors

Zach Hilman 8 năm trước cách đây
mục cha
commit
8974771334
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/yuzu/main.cpp

+ 1 - 1
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>(