2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

registration: Fix NSP installation errors

This commit is contained in:
Zach Hilman 2018-08-30 16:59:30 -04:00
parent e4e55d064e
commit 8974771334

View file

@ -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>(