summaryrefslogtreecommitdiffstats
path: root/src/core/loader/nca.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-08-15 04:37:12 +0200
committerLioncash <mathew1800@gmail.com>2018-08-15 07:41:40 +0200
commit0769aa594e8814ffd7e70654cfd1bdc04ba0c5c4 (patch)
tree7e151b31e50e2b73133674984f537f7d3cc4e5ab /src/core/loader/nca.h
parentloader/xci: Remove unnecessary includes and member variables (diff)
downloadyuzu-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 'src/core/loader/nca.h')
-rw-r--r--src/core/loader/nca.h17
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;
};