diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2015-01-06 22:30:40 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2015-01-15 22:21:26 +0100 |
commit | b5237e885df72f6c37532fc8af9573966e7b07e5 (patch) | |
tree | fdfd4da299cc2779f35fcc30e770b85b9e710166 /src/core/loader/ncch.h | |
parent | Loader: Initialize the default NCCH values in the class declaration, not in the constructor. (diff) | |
download | yuzu-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 '')
-rw-r--r-- | src/core/loader/ncch.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/core/loader/ncch.h b/src/core/loader/ncch.h index 578513f77..d9d68f154 100644 --- a/src/core/loader/ncch.h +++ b/src/core/loader/ncch.h @@ -5,7 +5,6 @@ #pragma once #include "common/common.h" -#include "common/file_util.h" #include "core/loader/loader.h" @@ -147,8 +146,7 @@ namespace Loader { /// Loads an NCCH file (e.g. from a CCI, or the first NCCH in a CXI) class AppLoader_NCCH final : public AppLoader { public: - AppLoader_NCCH(const std::string& filename); - ~AppLoader_NCCH() override; + AppLoader_NCCH(std::unique_ptr<FileUtil::IOFile>&& file) : AppLoader(std::move(file)) { } /** * Load the application @@ -213,9 +211,6 @@ private: */ ResultStatus LoadExec() const; - std::string filename; - - bool is_loaded = false; bool is_compressed = false; u32 entry_point = 0; |