loader: Move NSO module tracking to AppLoader
Also cleanup of general stuff
This commit is contained in:
parent
bdfb6260d5
commit
227430a157
22 changed files with 147 additions and 80 deletions
|
@ -105,4 +105,13 @@ ResultStatus AppLoader_NCA::ReadLogo(std::vector<u8>& buffer) {
|
|||
buffer = logo->GetFile("NintendoLogo.png")->ReadAllBytes();
|
||||
return ResultStatus::Success;
|
||||
}
|
||||
|
||||
ResultStatus AppLoader_NCA::ReadNSOModules(Modules& modules) {
|
||||
if (directory_loader == nullptr) {
|
||||
return ResultStatus::ErrorNotInitialized;
|
||||
}
|
||||
|
||||
return directory_loader->ReadNSOModules(modules);
|
||||
}
|
||||
|
||||
} // namespace Loader
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue