diff options
| author | 2018-10-14 20:36:57 -0400 | |
|---|---|---|
| committer | 2018-10-14 20:38:19 -0400 | |
| commit | bb9cf8a127baf83aa3ebdef5b17d9bdd69869b4a (patch) | |
| tree | 03898f15baeb092ddfc7a59e9bcda97c2c8cd386 /src/core/loader/nso.h | |
| parent | nro: Make LoadNro take a VfsFile by const reference (diff) | |
| download | yuzu-bb9cf8a127baf83aa3ebdef5b17d9bdd69869b4a.tar.gz yuzu-bb9cf8a127baf83aa3ebdef5b17d9bdd69869b4a.tar.xz yuzu-bb9cf8a127baf83aa3ebdef5b17d9bdd69869b4a.zip | |
nso: Make LoadModule take a VfsFile by const reference
Diffstat (limited to 'src/core/loader/nso.h')
| -rw-r--r-- | src/core/loader/nso.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/loader/nso.h b/src/core/loader/nso.h index 70ab3b718..d92897130 100644 --- a/src/core/loader/nso.h +++ b/src/core/loader/nso.h | |||
| @@ -36,7 +36,8 @@ public: | |||
| 36 | return IdentifyType(file); | 36 | return IdentifyType(file); |
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | static VAddr LoadModule(FileSys::VirtualFile file, VAddr load_base, bool should_pass_arguments, | 39 | static VAddr LoadModule(const FileSys::VfsFile& file, VAddr load_base, |
| 40 | bool should_pass_arguments, | ||
| 40 | boost::optional<FileSys::PatchManager> pm = boost::none); | 41 | boost::optional<FileSys::PatchManager> pm = boost::none); |
| 41 | 42 | ||
| 42 | ResultStatus Load(Kernel::Process& process) override; | 43 | ResultStatus Load(Kernel::Process& process) override; |