summaryrefslogtreecommitdiffstats
path: root/src/core/loader/nso.h
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-09-30 04:16:09 +0200
committerZach Hilman <zachhilman@gmail.com>2018-10-01 22:02:50 +0200
commit003b44822a309c0ef57fc6dd41e401e18ecb92bf (patch)
tree1f03a2398e48b4795d38ce9e6d235f297c8a9eec /src/core/loader/nso.h
parentpatch_manager: Add PatchNSO function (diff)
downloadyuzu-003b44822a309c0ef57fc6dd41e401e18ecb92bf.tar
yuzu-003b44822a309c0ef57fc6dd41e401e18ecb92bf.tar.gz
yuzu-003b44822a309c0ef57fc6dd41e401e18ecb92bf.tar.bz2
yuzu-003b44822a309c0ef57fc6dd41e401e18ecb92bf.tar.lz
yuzu-003b44822a309c0ef57fc6dd41e401e18ecb92bf.tar.xz
yuzu-003b44822a309c0ef57fc6dd41e401e18ecb92bf.tar.zst
yuzu-003b44822a309c0ef57fc6dd41e401e18ecb92bf.zip
Diffstat (limited to '')
-rw-r--r--src/core/loader/nso.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/loader/nso.h b/src/core/loader/nso.h
index 7f142405b..7c26aa4ba 100644
--- a/src/core/loader/nso.h
+++ b/src/core/loader/nso.h
@@ -5,6 +5,7 @@
#pragma once
#include "common/common_types.h"
+#include "core/file_sys/patch_manager.h"
#include "core/loader/linker.h"
#include "core/loader/loader.h"
@@ -26,7 +27,8 @@ public:
return IdentifyType(file);
}
- static VAddr LoadModule(FileSys::VirtualFile file, VAddr load_base);
+ static VAddr LoadModule(FileSys::VirtualFile file, VAddr load_base,
+ std::shared_ptr<FileSys::PatchManager> pm = nullptr);
ResultStatus Load(Kernel::Process& process) override;
};