summaryrefslogtreecommitdiffstats
path: root/src/core/loader
diff options
context:
space:
mode:
authorBakugo <bakugo@b4k.co>2019-07-02 01:57:23 +0200
committerBakugo <bakugo@b4k.co>2019-07-02 01:57:23 +0200
commitb50557d1f02d2784dbda733b4cf21c769d1cae4d (patch)
tree3590623336f83ebc96878703e4e52f34a05d6a58 /src/core/loader
parentfile_sys/registered_cache: Improve missing metadata error (diff)
downloadyuzu-b50557d1f02d2784dbda733b4cf21c769d1cae4d.tar
yuzu-b50557d1f02d2784dbda733b4cf21c769d1cae4d.tar.gz
yuzu-b50557d1f02d2784dbda733b4cf21c769d1cae4d.tar.bz2
yuzu-b50557d1f02d2784dbda733b4cf21c769d1cae4d.tar.lz
yuzu-b50557d1f02d2784dbda733b4cf21c769d1cae4d.tar.xz
yuzu-b50557d1f02d2784dbda733b4cf21c769d1cae4d.tar.zst
yuzu-b50557d1f02d2784dbda733b4cf21c769d1cae4d.zip
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) {
}
ResultStatus AppLoader_NSP::ReadManualRomFS(FileSys::VirtualFile& file) {
- const auto nca = nsp->GetNCA(nsp->GetProgramTitleID(), FileSys::ContentRecordType::Manual);
+ const auto nca =
+ nsp->GetNCA(nsp->GetProgramTitleID(), FileSys::ContentRecordType::HtmlDocument);
if (nsp->GetStatus() != ResultStatus::Success || nca == nullptr)
return ResultStatus::ErrorNoRomFS;
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) {
ResultStatus AppLoader_XCI::ReadManualRomFS(FileSys::VirtualFile& file) {
const auto nca = xci->GetSecurePartitionNSP()->GetNCA(xci->GetProgramTitleID(),
- FileSys::ContentRecordType::Manual);
+ FileSys::ContentRecordType::HtmlDocument);
if (xci->GetStatus() != ResultStatus::Success || nca == nullptr)
return ResultStatus::ErrorXCIMissingPartition;
file = nca->GetRomFS();