summaryrefslogtreecommitdiff
path: root/src/core/loader/xci.cpp
diff options
context:
space:
mode:
authorGravatar Zach Hilman2019-07-01 22:27:24 -0500
committerGravatar GitHub2019-07-01 22:27:24 -0500
commit6be79bab37a3ed8d9d1c194e85a112fff02d9150 (patch)
tree3590623336f83ebc96878703e4e52f34a05d6a58 /src/core/loader/xci.cpp
parentMerge pull request #2583 from FernandoS27/core-timing-safe (diff)
parentfile_sys: Rename other ContentRecordType members (diff)
downloadyuzu-6be79bab37a3ed8d9d1c194e85a112fff02d9150.tar.gz
yuzu-6be79bab37a3ed8d9d1c194e85a112fff02d9150.tar.xz
yuzu-6be79bab37a3ed8d9d1c194e85a112fff02d9150.zip
Merge pull request #2660 from bakugo/deltafragments
file_sys: Ignore DeltaFragment NCAs during installation
Diffstat (limited to 'src/core/loader/xci.cpp')
-rw-r--r--src/core/loader/xci.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/xci.cpp b/src/core/loader/xci.cpp
index a5c4d3688..5e8553db9 100644
--- a/src/core/loader/xci.cpp
+++ b/src/core/loader/xci.cpp
@@ -134,7 +134,7 @@ ResultStatus AppLoader_XCI::ReadControlData(FileSys::NACP& control) {
134 134
135ResultStatus AppLoader_XCI::ReadManualRomFS(FileSys::VirtualFile& file) { 135ResultStatus AppLoader_XCI::ReadManualRomFS(FileSys::VirtualFile& file) {
136 const auto nca = xci->GetSecurePartitionNSP()->GetNCA(xci->GetProgramTitleID(), 136 const auto nca = xci->GetSecurePartitionNSP()->GetNCA(xci->GetProgramTitleID(),
137 FileSys::ContentRecordType::Manual); 137 FileSys::ContentRecordType::HtmlDocument);
138 if (xci->GetStatus() != ResultStatus::Success || nca == nullptr) 138 if (xci->GetStatus() != ResultStatus::Success || nca == nullptr)
139 return ResultStatus::ErrorXCIMissingPartition; 139 return ResultStatus::ErrorXCIMissingPartition;
140 file = nca->GetRomFS(); 140 file = nca->GetRomFS();