summaryrefslogtreecommitdiff
path: root/src/core/loader/nsp.cpp
diff options
context:
space:
mode:
authorGravatar Zach Hilman2019-01-15 15:56:52 -0500
committerGravatar Zach Hilman2019-01-15 16:01:04 -0500
commitb273b195762433ab015ec015061414aac4b9683e (patch)
treeb1c7aefc989d3174099eeafd7ba8a9d0ac28d230 /src/core/loader/nsp.cpp
parentcontent_archive: Add getter for logo section of NCA (diff)
downloadyuzu-b273b195762433ab015ec015061414aac4b9683e.tar.gz
yuzu-b273b195762433ab015ec015061414aac4b9683e.tar.xz
yuzu-b273b195762433ab015ec015061414aac4b9683e.zip
loader: Propagate NCA logo section to ReadBanner and ReadLogo
Diffstat (limited to 'src/core/loader/nsp.cpp')
-rw-r--r--src/core/loader/nsp.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/loader/nsp.cpp b/src/core/loader/nsp.cpp
index 7fcb12aa2..7da1f8960 100644
--- a/src/core/loader/nsp.cpp
+++ b/src/core/loader/nsp.cpp
@@ -166,4 +166,13 @@ ResultStatus AppLoader_NSP::ReadManualRomFS(FileSys::VirtualFile& file) {
166 file = nca->GetRomFS(); 166 file = nca->GetRomFS();
167 return file == nullptr ? ResultStatus::ErrorNoRomFS : ResultStatus::Success; 167 return file == nullptr ? ResultStatus::ErrorNoRomFS : ResultStatus::Success;
168} 168}
169
170ResultStatus AppLoader_NSP::ReadBanner(std::vector<u8>& buffer) {
171 return secondary_loader->ReadBanner(buffer);
172}
173
174ResultStatus AppLoader_NSP::ReadLogo(std::vector<u8>& buffer) {
175 return secondary_loader->ReadLogo(buffer);
176}
177
169} // namespace Loader 178} // namespace Loader