diff options
| author | 2019-05-26 11:40:41 -0400 | |
|---|---|---|
| committer | 2019-05-26 11:40:46 -0400 | |
| commit | b77fde7c5c1f63aad9d4f01ea625805661870f3e (patch) | |
| tree | 1a69520beebaac50ecd19d4c54828f7b8a498dd0 /src/core/loader/nca.cpp | |
| parent | prepo: Save reports from PlayReport service (diff) | |
| download | yuzu-b77fde7c5c1f63aad9d4f01ea625805661870f3e.tar.gz yuzu-b77fde7c5c1f63aad9d4f01ea625805661870f3e.tar.xz yuzu-b77fde7c5c1f63aad9d4f01ea625805661870f3e.zip | |
loader: Move NSO module tracking to AppLoader
Also cleanup of general stuff
Diffstat (limited to 'src/core/loader/nca.cpp')
| -rw-r--r-- | src/core/loader/nca.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core/loader/nca.cpp b/src/core/loader/nca.cpp index b3f8f1083..0f65fb637 100644 --- a/src/core/loader/nca.cpp +++ b/src/core/loader/nca.cpp | |||
| @@ -105,4 +105,13 @@ ResultStatus AppLoader_NCA::ReadLogo(std::vector<u8>& buffer) { | |||
| 105 | buffer = logo->GetFile("NintendoLogo.png")->ReadAllBytes(); | 105 | buffer = logo->GetFile("NintendoLogo.png")->ReadAllBytes(); |
| 106 | return ResultStatus::Success; | 106 | return ResultStatus::Success; |
| 107 | } | 107 | } |
| 108 | |||
| 109 | ResultStatus AppLoader_NCA::ReadNSOModules(Modules& modules) { | ||
| 110 | if (directory_loader == nullptr) { | ||
| 111 | return ResultStatus::ErrorNotInitialized; | ||
| 112 | } | ||
| 113 | |||
| 114 | return directory_loader->ReadNSOModules(modules); | ||
| 115 | } | ||
| 116 | |||
| 108 | } // namespace Loader | 117 | } // namespace Loader |