diff options
author | Lioncash <mathew1800@gmail.com> | 2018-12-03 04:13:50 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-12-03 04:18:52 +0100 |
commit | b110d2176c68d8efe572766e9b7edd80e3dd4298 (patch) | |
tree | 7bd18c66f920000e940a7bb32ad63e4ce7401cd6 /src/core/loader/nro.h | |
parent | Merge pull request #1827 from ReinUsesLisp/clip-and-shader (diff) | |
download | yuzu-b110d2176c68d8efe572766e9b7edd80e3dd4298.tar yuzu-b110d2176c68d8efe572766e9b7edd80e3dd4298.tar.gz yuzu-b110d2176c68d8efe572766e9b7edd80e3dd4298.tar.bz2 yuzu-b110d2176c68d8efe572766e9b7edd80e3dd4298.tar.lz yuzu-b110d2176c68d8efe572766e9b7edd80e3dd4298.tar.xz yuzu-b110d2176c68d8efe572766e9b7edd80e3dd4298.tar.zst yuzu-b110d2176c68d8efe572766e9b7edd80e3dd4298.zip |
Diffstat (limited to 'src/core/loader/nro.h')
-rw-r--r-- | src/core/loader/nro.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/core/loader/nro.h b/src/core/loader/nro.h index 3e6959302..6a63d1a7a 100644 --- a/src/core/loader/nro.h +++ b/src/core/loader/nro.h @@ -14,6 +14,10 @@ namespace FileSys { class NACP; } +namespace Kernel { +class Process; +} + namespace Loader { /// Loads an NRO file @@ -41,10 +45,11 @@ public: ResultStatus ReadTitle(std::string& title) override; bool IsRomFSUpdatable() const override; - static bool LoadNro(const std::vector<u8>& data, const std::string& name, VAddr load_base); + static bool LoadNro(Kernel::Process& process, const std::vector<u8>& data, + const std::string& name, VAddr load_base); private: - bool LoadNro(const FileSys::VfsFile& file, VAddr load_base); + bool LoadNro(Kernel::Process& process, const FileSys::VfsFile& file, VAddr load_base); std::vector<u8> icon_data; std::unique_ptr<FileSys::NACP> nacp; |