diff options
author | Lioncash <mathew1800@gmail.com> | 2018-12-03 04:24:43 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-12-03 05:39:03 +0100 |
commit | 7695febfa1f3ef45fbac5fe674c1371c88f483b6 (patch) | |
tree | 7e92abf7033e72996c8025cabf633b2d47b14229 /src/core/loader/deconstructed_rom_directory.cpp | |
parent | loader/nro: Make the static LoadNro function internally linked (diff) | |
download | yuzu-7695febfa1f3ef45fbac5fe674c1371c88f483b6.tar yuzu-7695febfa1f3ef45fbac5fe674c1371c88f483b6.tar.gz yuzu-7695febfa1f3ef45fbac5fe674c1371c88f483b6.tar.bz2 yuzu-7695febfa1f3ef45fbac5fe674c1371c88f483b6.tar.lz yuzu-7695febfa1f3ef45fbac5fe674c1371c88f483b6.tar.xz yuzu-7695febfa1f3ef45fbac5fe674c1371c88f483b6.tar.zst yuzu-7695febfa1f3ef45fbac5fe674c1371c88f483b6.zip |
Diffstat (limited to 'src/core/loader/deconstructed_rom_directory.cpp')
-rw-r--r-- | src/core/loader/deconstructed_rom_directory.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/loader/deconstructed_rom_directory.cpp b/src/core/loader/deconstructed_rom_directory.cpp index 8518dddcb..ac04d72d7 100644 --- a/src/core/loader/deconstructed_rom_directory.cpp +++ b/src/core/loader/deconstructed_rom_directory.cpp @@ -7,7 +7,6 @@ #include "common/common_funcs.h" #include "common/file_util.h" #include "common/logging/log.h" -#include "core/core.h" #include "core/file_sys/content_archive.h" #include "core/file_sys/control_metadata.h" #include "core/file_sys/patch_manager.h" @@ -146,7 +145,7 @@ ResultStatus AppLoader_DeconstructedRomDirectory::Load(Kernel::Process& process) const VAddr load_addr = next_load_addr; const bool should_pass_arguments = std::strcmp(module, "rtld") == 0; const auto tentative_next_load_addr = - AppLoader_NSO::LoadModule(*module_file, load_addr, should_pass_arguments, pm); + AppLoader_NSO::LoadModule(process, *module_file, load_addr, should_pass_arguments, pm); if (!tentative_next_load_addr) { return ResultStatus::ErrorLoadingNSO; } |