summaryrefslogtreecommitdiffstats
path: root/src/core/loader/nso.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-12-03 04:24:43 +0100
committerLioncash <mathew1800@gmail.com>2018-12-03 05:39:03 +0100
commit7695febfa1f3ef45fbac5fe674c1371c88f483b6 (patch)
tree7e92abf7033e72996c8025cabf633b2d47b14229 /src/core/loader/nso.h
parentloader/nro: Make the static LoadNro function internally linked (diff)
downloadyuzu-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 '')
-rw-r--r--src/core/loader/nso.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/loader/nso.h b/src/core/loader/nso.h
index 433306139..0c1defbb6 100644
--- a/src/core/loader/nso.h
+++ b/src/core/loader/nso.h
@@ -10,6 +10,10 @@
#include "core/loader/linker.h"
#include "core/loader/loader.h"
+namespace Kernel {
+class Process;
+}
+
namespace Loader {
constexpr u64 NSO_ARGUMENT_DATA_ALLOCATION_SIZE = 0x9000;
@@ -37,8 +41,8 @@ public:
return IdentifyType(file);
}
- static std::optional<VAddr> LoadModule(const FileSys::VfsFile& file, VAddr load_base,
- bool should_pass_arguments,
+ static std::optional<VAddr> LoadModule(Kernel::Process& process, const FileSys::VfsFile& file,
+ VAddr load_base, bool should_pass_arguments,
std::optional<FileSys::PatchManager> pm = {});
ResultStatus Load(Kernel::Process& process) override;