summaryrefslogtreecommitdiff
path: root/src/core/loader
diff options
context:
space:
mode:
authorGravatar Bakugo2019-07-02 00:57:23 +0100
committerGravatar Bakugo2019-07-02 00:57:23 +0100
commitb50557d1f02d2784dbda733b4cf21c769d1cae4d (patch)
tree3590623336f83ebc96878703e4e52f34a05d6a58 /src/core/loader
parentfile_sys/registered_cache: Improve missing metadata error (diff)
downloadyuzu-b50557d1f02d2784dbda733b4cf21c769d1cae4d.tar.gz
yuzu-b50557d1f02d2784dbda733b4cf21c769d1cae4d.tar.xz
yuzu-b50557d1f02d2784dbda733b4cf21c769d1cae4d.zip
file_sys: Rename other ContentRecordType members
Diffstat (limited to 'src/core/loader')
-rw-r--r--src/core/loader/nsp.cpp3
-rw-r--r--src/core/loader/xci.cpp2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/core/loader/nsp.cpp b/src/core/loader/nsp.cpp
index 3a22ec2c6..b1171ce65 100644
--- a/src/core/loader/nsp.cpp
+++ b/src/core/loader/nsp.cpp
@@ -168,7 +168,8 @@ ResultStatus AppLoader_NSP::ReadControlData(FileSys::NACP& nacp) {
168} 168}
169 169
170ResultStatus AppLoader_NSP::ReadManualRomFS(FileSys::VirtualFile& file) { 170ResultStatus AppLoader_NSP::ReadManualRomFS(FileSys::VirtualFile& file) {
171 const auto nca = nsp->GetNCA(nsp->GetProgramTitleID(), FileSys::ContentRecordType::Manual); 171 const auto nca =
172 nsp->GetNCA(nsp->GetProgramTitleID(), FileSys::ContentRecordType::HtmlDocument);
172 if (nsp->GetStatus() != ResultStatus::Success || nca == nullptr) 173 if (nsp->GetStatus() != ResultStatus::Success || nca == nullptr)
173 return ResultStatus::ErrorNoRomFS; 174 return ResultStatus::ErrorNoRomFS;
174 file = nca->GetRomFS(); 175 file = nca->GetRomFS();
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();