mirror of https://git.suyu.dev/suyu/suyu
nso: Add a log for loading submodules.
This commit is contained in:
parent
78bc2b70bb
commit
12c7469d81
|
@ -162,6 +162,7 @@ ResultStatus AppLoader_NSO::Load(Kernel::SharedPtr<Kernel::Process>& process) {
|
||||||
|
|
||||||
// Load and relocate remaining submodules
|
// Load and relocate remaining submodules
|
||||||
for (const auto& module_name : {"main", "sdk", "subsdk0", "subsdk1"}) {
|
for (const auto& module_name : {"main", "sdk", "subsdk0", "subsdk1"}) {
|
||||||
|
LOG_INFO(Loader, "loading %s @ 0x%08x", module_name, next_base_addr);
|
||||||
const std::string module_path =
|
const std::string module_path =
|
||||||
filepath.substr(0, filepath.find_last_of("/\\")) + "/" + module_name;
|
filepath.substr(0, filepath.find_last_of("/\\")) + "/" + module_name;
|
||||||
next_base_addr = LoadNso(module_path, next_base_addr);
|
next_base_addr = LoadNso(module_path, next_base_addr);
|
||||||
|
|
Loading…
Reference in New Issue