summaryrefslogtreecommitdiff
path: root/src/core/loader/elf.h
diff options
context:
space:
mode:
authorGravatar bunnei2015-05-08 21:20:37 -0400
committerGravatar bunnei2015-05-08 21:20:37 -0400
commit917ac23dfcab37c65e11e3413e397863bd4bc000 (patch)
tree956ca5d1a4aad3383c4a3bfc9103476abe3f1987 /src/core/loader/elf.h
parentMerge pull request #728 from lioncash/vars (diff)
parentKernel: Remove unused g_main_thread variable (diff)
downloadyuzu-917ac23dfcab37c65e11e3413e397863bd4bc000.tar.gz
yuzu-917ac23dfcab37c65e11e3413e397863bd4bc000.tar.xz
yuzu-917ac23dfcab37c65e11e3413e397863bd4bc000.zip
Merge pull request #731 from yuriks/app-info
Kernel: Process class and ExHeader caps parsing
Diffstat (limited to 'src/core/loader/elf.h')
-rw-r--r--src/core/loader/elf.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/core/loader/elf.h b/src/core/loader/elf.h
index b6e6651f5..32841606a 100644
--- a/src/core/loader/elf.h
+++ b/src/core/loader/elf.h
@@ -4,6 +4,8 @@
4 4
5#pragma once 5#pragma once
6 6
7#include <string>
8
7#include "common/common_types.h" 9#include "common/common_types.h"
8#include "core/loader/loader.h" 10#include "core/loader/loader.h"
9 11
@@ -15,7 +17,8 @@ namespace Loader {
15/// Loads an ELF/AXF file 17/// Loads an ELF/AXF file
16class AppLoader_ELF final : public AppLoader { 18class AppLoader_ELF final : public AppLoader {
17public: 19public:
18 AppLoader_ELF(std::unique_ptr<FileUtil::IOFile>&& file) : AppLoader(std::move(file)) { } 20 AppLoader_ELF(std::unique_ptr<FileUtil::IOFile>&& file, std::string filename)
21 : AppLoader(std::move(file)), filename(std::move(filename)) { }
19 22
20 /** 23 /**
21 * Returns the type of the file 24 * Returns the type of the file
@@ -29,6 +32,9 @@ public:
29 * @return ResultStatus result of function 32 * @return ResultStatus result of function
30 */ 33 */
31 ResultStatus Load() override; 34 ResultStatus Load() override;
35
36private:
37 std::string filename;
32}; 38};
33 39
34} // namespace Loader 40} // namespace Loader