diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-16 06:04:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-16 06:04:25 +0200 |
commit | 24a759de4a62dd39e3a0e97c97f13c6cb98ccd7c (patch) | |
tree | 76babb9c0122d44c0b82512f1492ce941f2e85fe /src/core/loader/nca.h | |
parent | Merge pull request #1005 from DarkLordZach/registered-fmt (diff) | |
parent | loader/nca: Remove unnecessary includes and member variables (diff) | |
download | yuzu-24a759de4a62dd39e3a0e97c97f13c6cb98ccd7c.tar yuzu-24a759de4a62dd39e3a0e97c97f13c6cb98ccd7c.tar.gz yuzu-24a759de4a62dd39e3a0e97c97f13c6cb98ccd7c.tar.bz2 yuzu-24a759de4a62dd39e3a0e97c97f13c6cb98ccd7c.tar.lz yuzu-24a759de4a62dd39e3a0e97c97f13c6cb98ccd7c.tar.xz yuzu-24a759de4a62dd39e3a0e97c97f13c6cb98ccd7c.tar.zst yuzu-24a759de4a62dd39e3a0e97c97f13c6cb98ccd7c.zip |
Diffstat (limited to 'src/core/loader/nca.h')
-rw-r--r-- | src/core/loader/nca.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/core/loader/nca.h b/src/core/loader/nca.h index 7f7d8ea0b..326f84857 100644 --- a/src/core/loader/nca.h +++ b/src/core/loader/nca.h @@ -4,20 +4,24 @@ #pragma once -#include <string> #include "common/common_types.h" -#include "core/file_sys/content_archive.h" -#include "core/file_sys/program_metadata.h" +#include "core/file_sys/vfs.h" #include "core/hle/kernel/object.h" #include "core/loader/loader.h" -#include "deconstructed_rom_directory.h" + +namespace FileSys { +class NCA; +} namespace Loader { +class AppLoader_DeconstructedRomDirectory; + /// Loads an NCA file class AppLoader_NCA final : public AppLoader { public: explicit AppLoader_NCA(FileSys::VirtualFile file); + ~AppLoader_NCA() override; /** * Returns the type of the file @@ -35,12 +39,7 @@ public: ResultStatus ReadRomFS(FileSys::VirtualFile& dir) override; ResultStatus ReadProgramId(u64& out_program_id) override; - ~AppLoader_NCA(); - private: - FileSys::ProgramMetadata metadata; - - FileSys::NCAHeader header; std::unique_ptr<FileSys::NCA> nca; std::unique_ptr<AppLoader_DeconstructedRomDirectory> directory_loader; }; |