diff options
author | Zach Hilman <zachhilman@gmail.com> | 2019-01-15 21:56:32 +0100 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2019-01-15 22:00:29 +0100 |
commit | 318bf7c8e3a31d444fa0308804b4c1cf0c2470be (patch) | |
tree | 0a44dcb9aac9bdf6ee4552a44ace1ad1338f2e38 /src/core/file_sys/content_archive.cpp | |
parent | Merge pull request #2020 from otaviopace/remove-spaces (diff) | |
download | yuzu-318bf7c8e3a31d444fa0308804b4c1cf0c2470be.tar yuzu-318bf7c8e3a31d444fa0308804b4c1cf0c2470be.tar.gz yuzu-318bf7c8e3a31d444fa0308804b4c1cf0c2470be.tar.bz2 yuzu-318bf7c8e3a31d444fa0308804b4c1cf0c2470be.tar.lz yuzu-318bf7c8e3a31d444fa0308804b4c1cf0c2470be.tar.xz yuzu-318bf7c8e3a31d444fa0308804b4c1cf0c2470be.tar.zst yuzu-318bf7c8e3a31d444fa0308804b4c1cf0c2470be.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/file_sys/content_archive.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/file_sys/content_archive.cpp b/src/core/file_sys/content_archive.cpp index 19b6f8600..5aa3b600b 100644 --- a/src/core/file_sys/content_archive.cpp +++ b/src/core/file_sys/content_archive.cpp @@ -359,6 +359,8 @@ bool NCA::ReadPFS0Section(const NCASectionHeader& section, const NCASectionTable dirs.push_back(std::move(npfs)); if (IsDirectoryExeFS(dirs.back())) exefs = dirs.back(); + else if (IsDirectoryLogoPartition(dirs.back())) + logo = dirs.back(); } else { if (has_rights_id) status = Loader::ResultStatus::ErrorIncorrectTitlekeyOrTitlekek; @@ -546,4 +548,8 @@ u64 NCA::GetBaseIVFCOffset() const { return ivfc_offset; } +VirtualDir NCA::GetLogoPartition() const { + return logo; +} + } // namespace FileSys |