diff options
author | Lioncash <mathew1800@gmail.com> | 2020-09-16 14:19:25 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-09-16 14:46:59 +0200 |
commit | 113a3972a6487430ab94f08a4a66742739ff48c2 (patch) | |
tree | 735e838e0e271449cecaedc6977c1831c9e39a3a /src/core/loader/nso.h | |
parent | Merge pull request #4658 from lioncash/copy3 (diff) | |
download | yuzu-113a3972a6487430ab94f08a4a66742739ff48c2.tar yuzu-113a3972a6487430ab94f08a4a66742739ff48c2.tar.gz yuzu-113a3972a6487430ab94f08a4a66742739ff48c2.tar.bz2 yuzu-113a3972a6487430ab94f08a4a66742739ff48c2.tar.lz yuzu-113a3972a6487430ab94f08a4a66742739ff48c2.tar.xz yuzu-113a3972a6487430ab94f08a4a66742739ff48c2.tar.zst yuzu-113a3972a6487430ab94f08a4a66742739ff48c2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/loader/nso.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/core/loader/nso.h b/src/core/loader/nso.h index b210830f0..4bd47787d 100644 --- a/src/core/loader/nso.h +++ b/src/core/loader/nso.h @@ -12,6 +12,10 @@ #include "core/file_sys/patch_manager.h" #include "core/loader/loader.h" +namespace Core { +class System; +} + namespace Kernel { class Process; } @@ -80,12 +84,12 @@ public: return IdentifyType(file); } - static std::optional<VAddr> LoadModule(Kernel::Process& process, const FileSys::VfsFile& file, - VAddr load_base, bool should_pass_arguments, - bool load_into_process, + static std::optional<VAddr> LoadModule(Kernel::Process& process, Core::System& system, + const FileSys::VfsFile& file, VAddr load_base, + bool should_pass_arguments, bool load_into_process, std::optional<FileSys::PatchManager> pm = {}); - LoadResult Load(Kernel::Process& process) override; + LoadResult Load(Kernel::Process& process, Core::System& system) override; ResultStatus ReadNSOModules(Modules& modules) override; |