summaryrefslogtreecommitdiffstats
path: root/src/core/loader/elf.h
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-01-06 22:30:40 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2015-01-15 22:21:26 +0100
commitb5237e885df72f6c37532fc8af9573966e7b07e5 (patch)
treefdfd4da299cc2779f35fcc30e770b85b9e710166 /src/core/loader/elf.h
parentLoader: Initialize the default NCCH values in the class declaration, not in the constructor. (diff)
downloadyuzu-b5237e885df72f6c37532fc8af9573966e7b07e5.tar
yuzu-b5237e885df72f6c37532fc8af9573966e7b07e5.tar.gz
yuzu-b5237e885df72f6c37532fc8af9573966e7b07e5.tar.bz2
yuzu-b5237e885df72f6c37532fc8af9573966e7b07e5.tar.lz
yuzu-b5237e885df72f6c37532fc8af9573966e7b07e5.tar.xz
yuzu-b5237e885df72f6c37532fc8af9573966e7b07e5.tar.zst
yuzu-b5237e885df72f6c37532fc8af9573966e7b07e5.zip
Diffstat (limited to 'src/core/loader/elf.h')
-rw-r--r--src/core/loader/elf.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/core/loader/elf.h b/src/core/loader/elf.h
index 856722f1e..1c476c86b 100644
--- a/src/core/loader/elf.h
+++ b/src/core/loader/elf.h
@@ -15,18 +15,13 @@ namespace Loader {
/// Loads an ELF/AXF file
class AppLoader_ELF final : public AppLoader {
public:
- AppLoader_ELF(const std::string& filename);
- ~AppLoader_ELF() override;
+ AppLoader_ELF(std::unique_ptr<FileUtil::IOFile>&& file) : AppLoader(std::move(file)) { }
/**
* Load the bootable file
* @return ResultStatus result of function
*/
ResultStatus Load() override;
-
-private:
- std::string filename;
- bool is_loaded = false;
};
} // namespace Loader