diff options
| author | 2018-10-23 18:35:20 -0400 | |
|---|---|---|
| committer | 2018-10-25 18:03:54 -0400 | |
| commit | ef7b2237d9c2980fc8e1968ad68baafa6a41516e (patch) | |
| tree | 09e0e992af90895802c71ddaa0e4a1eb06fafa0e /src/core/loader/nro.h | |
| parent | Merge pull request #1583 from DarkLordZach/rle-size (diff) | |
| download | yuzu-ef7b2237d9c2980fc8e1968ad68baafa6a41516e.tar.gz yuzu-ef7b2237d9c2980fc8e1968ad68baafa6a41516e.tar.xz yuzu-ef7b2237d9c2980fc8e1968ad68baafa6a41516e.zip | |
nro: Make LoadNro method accessible outside of apploader code.
Diffstat (limited to 'src/core/loader/nro.h')
| -rw-r--r-- | src/core/loader/nro.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/loader/nro.h b/src/core/loader/nro.h index 50ee5a78a..3e6959302 100644 --- a/src/core/loader/nro.h +++ b/src/core/loader/nro.h | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <string> | 7 | #include <string> |
| 8 | #include <vector> | ||
| 8 | #include "common/common_types.h" | 9 | #include "common/common_types.h" |
| 9 | #include "core/loader/linker.h" | 10 | #include "core/loader/linker.h" |
| 10 | #include "core/loader/loader.h" | 11 | #include "core/loader/loader.h" |
| @@ -40,6 +41,8 @@ public: | |||
| 40 | ResultStatus ReadTitle(std::string& title) override; | 41 | ResultStatus ReadTitle(std::string& title) override; |
| 41 | bool IsRomFSUpdatable() const override; | 42 | bool IsRomFSUpdatable() const override; |
| 42 | 43 | ||
| 44 | static bool LoadNro(const std::vector<u8>& data, const std::string& name, VAddr load_base); | ||
| 45 | |||
| 43 | private: | 46 | private: |
| 44 | bool LoadNro(const FileSys::VfsFile& file, VAddr load_base); | 47 | bool LoadNro(const FileSys::VfsFile& file, VAddr load_base); |
| 45 | 48 | ||