diff options
author | Lioncash <mathew1800@gmail.com> | 2018-10-15 03:41:58 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-10-15 23:02:11 +0200 |
commit | bed872ed38e19d34c6c2e3d1a3d35a9f72e46970 (patch) | |
tree | 6533551afe9c5432fa8789a1517a97111d0041c6 /src/core/loader/nso.h | |
parent | nso: Make LoadModule take a VfsFile by const reference (diff) | |
download | yuzu-bed872ed38e19d34c6c2e3d1a3d35a9f72e46970.tar yuzu-bed872ed38e19d34c6c2e3d1a3d35a9f72e46970.tar.gz yuzu-bed872ed38e19d34c6c2e3d1a3d35a9f72e46970.tar.bz2 yuzu-bed872ed38e19d34c6c2e3d1a3d35a9f72e46970.tar.lz yuzu-bed872ed38e19d34c6c2e3d1a3d35a9f72e46970.tar.xz yuzu-bed872ed38e19d34c6c2e3d1a3d35a9f72e46970.tar.zst yuzu-bed872ed38e19d34c6c2e3d1a3d35a9f72e46970.zip |
Diffstat (limited to 'src/core/loader/nso.h')
-rw-r--r-- | src/core/loader/nso.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/loader/nso.h b/src/core/loader/nso.h index d92897130..433306139 100644 --- a/src/core/loader/nso.h +++ b/src/core/loader/nso.h @@ -4,6 +4,7 @@ #pragma once +#include <optional> #include "common/common_types.h" #include "core/file_sys/patch_manager.h" #include "core/loader/linker.h" @@ -36,9 +37,9 @@ public: return IdentifyType(file); } - static VAddr LoadModule(const FileSys::VfsFile& file, VAddr load_base, - bool should_pass_arguments, - boost::optional<FileSys::PatchManager> pm = boost::none); + static std::optional<VAddr> LoadModule(const FileSys::VfsFile& file, VAddr load_base, + bool should_pass_arguments, + std::optional<FileSys::PatchManager> pm = {}); ResultStatus Load(Kernel::Process& process) override; }; |