diff options
| author | 2018-08-14 22:37:12 -0400 | |
|---|---|---|
| committer | 2018-08-15 01:41:40 -0400 | |
| commit | 0769aa594e8814ffd7e70654cfd1bdc04ba0c5c4 (patch) | |
| tree | 7e151b31e50e2b73133674984f537f7d3cc4e5ab /src/core/loader/nca.cpp | |
| parent | loader/xci: Remove unnecessary includes and member variables (diff) | |
| download | yuzu-0769aa594e8814ffd7e70654cfd1bdc04ba0c5c4.tar.gz yuzu-0769aa594e8814ffd7e70654cfd1bdc04ba0c5c4.tar.xz yuzu-0769aa594e8814ffd7e70654cfd1bdc04ba0c5c4.zip | |
loader/nca: Remove unnecessary includes and member variables
Diffstat (limited to 'src/core/loader/nca.cpp')
| -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 @@ | |||
| 3 | // Refer to the license.txt file included. | 3 | // Refer to the license.txt file included. |
| 4 | 4 | ||
| 5 | #include <utility> | 5 | #include <utility> |
| 6 | #include <vector> | ||
| 7 | 6 | ||
| 8 | #include "common/file_util.h" | 7 | #include "common/file_util.h" |
| 9 | #include "common/logging/log.h" | 8 | #include "common/logging/log.h" |
| 10 | #include "common/string_util.h" | ||
| 11 | #include "common/swap.h" | ||
| 12 | #include "core/core.h" | ||
| 13 | #include "core/file_sys/content_archive.h" | 9 | #include "core/file_sys/content_archive.h" |
| 14 | #include "core/file_sys/program_metadata.h" | ||
| 15 | #include "core/gdbstub/gdbstub.h" | ||
| 16 | #include "core/hle/kernel/process.h" | 10 | #include "core/hle/kernel/process.h" |
| 17 | #include "core/hle/kernel/resource_limit.h" | ||
| 18 | #include "core/hle/service/filesystem/filesystem.h" | 11 | #include "core/hle/service/filesystem/filesystem.h" |
| 12 | #include "core/loader/deconstructed_rom_directory.h" | ||
| 19 | #include "core/loader/nca.h" | 13 | #include "core/loader/nca.h" |
| 20 | #include "core/loader/nso.h" | ||
| 21 | #include "core/memory.h" | ||
| 22 | 14 | ||
| 23 | namespace Loader { | 15 | namespace Loader { |
| 24 | 16 | ||
| 25 | AppLoader_NCA::AppLoader_NCA(FileSys::VirtualFile file_) | 17 | AppLoader_NCA::AppLoader_NCA(FileSys::VirtualFile file_) |
| 26 | : AppLoader(std::move(file_)), nca(std::make_unique<FileSys::NCA>(file)) {} | 18 | : AppLoader(std::move(file_)), nca(std::make_unique<FileSys::NCA>(file)) {} |
| 27 | 19 | ||
| 20 | AppLoader_NCA::~AppLoader_NCA() = default; | ||
| 21 | |||
| 28 | FileType AppLoader_NCA::IdentifyType(const FileSys::VirtualFile& file) { | 22 | FileType AppLoader_NCA::IdentifyType(const FileSys::VirtualFile& file) { |
| 29 | FileSys::NCA nca(file); | 23 | FileSys::NCA nca(file); |
| 30 | 24 | ||
| @@ -83,6 +77,4 @@ ResultStatus AppLoader_NCA::ReadProgramId(u64& out_program_id) { | |||
| 83 | return ResultStatus::Success; | 77 | return ResultStatus::Success; |
| 84 | } | 78 | } |
| 85 | 79 | ||
| 86 | AppLoader_NCA::~AppLoader_NCA() = default; | ||
| 87 | |||
| 88 | } // namespace Loader | 80 | } // namespace Loader |