mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-14 13:12:50 +00:00
registration: Fix NSP installation errors
This commit is contained in:
parent
e4e55d064e
commit
8974771334
|
@ -814,7 +814,7 @@ void GMainWindow::OnMenuInstallToNAND() {
|
||||||
if (filename.endsWith("nsp", Qt::CaseInsensitive)) {
|
if (filename.endsWith("nsp", Qt::CaseInsensitive)) {
|
||||||
nsp = std::make_shared<FileSys::NSP>(
|
nsp = std::make_shared<FileSys::NSP>(
|
||||||
vfs->OpenFile(filename.toStdString(), FileSys::Mode::Read));
|
vfs->OpenFile(filename.toStdString(), FileSys::Mode::Read));
|
||||||
if (!nsp->IsExtractedType())
|
if (nsp->IsExtractedType())
|
||||||
failed();
|
failed();
|
||||||
} else {
|
} else {
|
||||||
const auto xci = std::make_shared<FileSys::XCI>(
|
const auto xci = std::make_shared<FileSys::XCI>(
|
||||||
|
|
Loading…
Reference in a new issue