diff options
author | bunnei <bunneidev@gmail.com> | 2017-10-10 03:39:32 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2017-10-10 03:39:32 +0200 |
commit | 23ce4f5afc66eb04a7aafc4f89685b8109b8d5c6 (patch) | |
tree | 168e7793c6d68eb8b195850a056443ea98f430a9 /src/core/loader/nso.h | |
parent | loader: Add support for NRO, as well as various fixes and shared linker. (diff) | |
download | yuzu-23ce4f5afc66eb04a7aafc4f89685b8109b8d5c6.tar yuzu-23ce4f5afc66eb04a7aafc4f89685b8109b8d5c6.tar.gz yuzu-23ce4f5afc66eb04a7aafc4f89685b8109b8d5c6.tar.bz2 yuzu-23ce4f5afc66eb04a7aafc4f89685b8109b8d5c6.tar.lz yuzu-23ce4f5afc66eb04a7aafc4f89685b8109b8d5c6.tar.xz yuzu-23ce4f5afc66eb04a7aafc4f89685b8109b8d5c6.tar.zst yuzu-23ce4f5afc66eb04a7aafc4f89685b8109b8d5c6.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/loader/nso.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/core/loader/nso.h b/src/core/loader/nso.h index 431b960b1..c29803d81 100644 --- a/src/core/loader/nso.h +++ b/src/core/loader/nso.h @@ -17,8 +17,8 @@ namespace Loader { /// Loads an NSO file class AppLoader_NSO final : public AppLoader, Linker { public: - AppLoader_NSO(FileUtil::IOFile&& file, std::string filename, std::string filepath) - : AppLoader(std::move(file)), filename(std::move(filename)), filepath(std::move(filepath)) { + AppLoader_NSO(FileUtil::IOFile&& file, std::string filepath) + : AppLoader(std::move(file)), filepath(std::move(filepath)) { } /** @@ -35,10 +35,8 @@ public: ResultStatus Load() override; private: - VAddr GetEntryPoint(VAddr load_base) const; - bool LoadNso(const std::string& path, VAddr load_base); + VAddr LoadNso(const std::string& path, VAddr load_base, bool relocate = false); - std::string filename; std::string filepath; }; |