diff options
author | Lioncash <mathew1800@gmail.com> | 2018-08-15 04:37:12 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-08-15 07:41:40 +0200 |
commit | 0769aa594e8814ffd7e70654cfd1bdc04ba0c5c4 (patch) | |
tree | 7e151b31e50e2b73133674984f537f7d3cc4e5ab /src/core/loader/nca.cpp | |
parent | loader/xci: Remove unnecessary includes and member variables (diff) | |
download | yuzu-0769aa594e8814ffd7e70654cfd1bdc04ba0c5c4.tar yuzu-0769aa594e8814ffd7e70654cfd1bdc04ba0c5c4.tar.gz yuzu-0769aa594e8814ffd7e70654cfd1bdc04ba0c5c4.tar.bz2 yuzu-0769aa594e8814ffd7e70654cfd1bdc04ba0c5c4.tar.lz yuzu-0769aa594e8814ffd7e70654cfd1bdc04ba0c5c4.tar.xz yuzu-0769aa594e8814ffd7e70654cfd1bdc04ba0c5c4.tar.zst yuzu-0769aa594e8814ffd7e70654cfd1bdc04ba0c5c4.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/loader/nca.cpp | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/core/loader/nca.cpp b/src/core/loader/nca.cpp index 8498cc94b..9d50c7d42 100644 --- a/src/core/loader/nca.cpp +++ b/src/core/loader/nca.cpp @@ -3,28 +3,22 @@ // Refer to the license.txt file included. #include <utility> -#include <vector> #include "common/file_util.h" #include "common/logging/log.h" -#include "common/string_util.h" -#include "common/swap.h" -#include "core/core.h" #include "core/file_sys/content_archive.h" -#include "core/file_sys/program_metadata.h" -#include "core/gdbstub/gdbstub.h" #include "core/hle/kernel/process.h" -#include "core/hle/kernel/resource_limit.h" #include "core/hle/service/filesystem/filesystem.h" +#include "core/loader/deconstructed_rom_directory.h" #include "core/loader/nca.h" -#include "core/loader/nso.h" -#include "core/memory.h" namespace Loader { AppLoader_NCA::AppLoader_NCA(FileSys::VirtualFile file_) : AppLoader(std::move(file_)), nca(std::make_unique<FileSys::NCA>(file)) {} +AppLoader_NCA::~AppLoader_NCA() = default; + FileType AppLoader_NCA::IdentifyType(const FileSys::VirtualFile& file) { FileSys::NCA nca(file); @@ -83,6 +77,4 @@ ResultStatus AppLoader_NCA::ReadProgramId(u64& out_program_id) { return ResultStatus::Success; } -AppLoader_NCA::~AppLoader_NCA() = default; - } // namespace Loader |