summaryrefslogtreecommitdiffstats
path: root/src/core/loader/nro.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-10-24 00:35:20 +0200
committerbunnei <bunneidev@gmail.com>2018-10-26 00:03:54 +0200
commitef7b2237d9c2980fc8e1968ad68baafa6a41516e (patch)
tree09e0e992af90895802c71ddaa0e4a1eb06fafa0e /src/core/loader/nro.h
parentMerge pull request #1583 from DarkLordZach/rle-size (diff)
downloadyuzu-ef7b2237d9c2980fc8e1968ad68baafa6a41516e.tar
yuzu-ef7b2237d9c2980fc8e1968ad68baafa6a41516e.tar.gz
yuzu-ef7b2237d9c2980fc8e1968ad68baafa6a41516e.tar.bz2
yuzu-ef7b2237d9c2980fc8e1968ad68baafa6a41516e.tar.lz
yuzu-ef7b2237d9c2980fc8e1968ad68baafa6a41516e.tar.xz
yuzu-ef7b2237d9c2980fc8e1968ad68baafa6a41516e.tar.zst
yuzu-ef7b2237d9c2980fc8e1968ad68baafa6a41516e.zip
Diffstat (limited to '')
-rw-r--r--src/core/loader/nro.h3
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 @@
#pragma once
#include <string>
+#include <vector>
#include "common/common_types.h"
#include "core/loader/linker.h"
#include "core/loader/loader.h"
@@ -40,6 +41,8 @@ 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);
+
private:
bool LoadNro(const FileSys::VfsFile& file, VAddr load_base);