diff options
author | Zach Hilman <zachhilman@gmail.com> | 2018-08-25 17:48:23 +0200 |
---|---|---|
committer | Zach Hilman <zachhilman@gmail.com> | 2018-09-04 20:27:33 +0200 |
commit | 5c8aff984e47c0f471e9eafd071031bc49ad8efc (patch) | |
tree | ac5ecdfc187f04a677b61f62eea6d6614326e636 /src/core/file_sys/card_image.h | |
parent | file_sys: Add Nintendo Submission Package (NSP) (diff) | |
download | yuzu-5c8aff984e47c0f471e9eafd071031bc49ad8efc.tar yuzu-5c8aff984e47c0f471e9eafd071031bc49ad8efc.tar.gz yuzu-5c8aff984e47c0f471e9eafd071031bc49ad8efc.tar.bz2 yuzu-5c8aff984e47c0f471e9eafd071031bc49ad8efc.tar.lz yuzu-5c8aff984e47c0f471e9eafd071031bc49ad8efc.tar.xz yuzu-5c8aff984e47c0f471e9eafd071031bc49ad8efc.tar.zst yuzu-5c8aff984e47c0f471e9eafd071031bc49ad8efc.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/file_sys/card_image.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/file_sys/card_image.h b/src/core/file_sys/card_image.h index 4f104d18a..b73f1d900 100644 --- a/src/core/file_sys/card_image.h +++ b/src/core/file_sys/card_image.h @@ -10,6 +10,8 @@ #include "common/common_types.h" #include "common/swap.h" #include "core/file_sys/vfs.h" +#include "core/loader/loader.h" +#include "submission_package.h" namespace Loader { enum class ResultStatus : u16; @@ -71,11 +73,14 @@ public: u8 GetFormatVersion() const; VirtualDir GetPartition(XCIPartition partition) const; + std::shared_ptr<NSP> GetSecurePartitionNSP() const; VirtualDir GetSecurePartition() const; VirtualDir GetNormalPartition() const; VirtualDir GetUpdatePartition() const; VirtualDir GetLogoPartition() const; + std::shared_ptr<NCA> GetProgramNCA() const; + VirtualFile GetProgramNCAFile() const; const std::vector<std::shared_ptr<NCA>>& GetNCAs() const; std::shared_ptr<NCA> GetNCAByType(NCAContentType type) const; VirtualFile GetNCAFileByType(NCAContentType type) const; @@ -101,6 +106,8 @@ private: Loader::ResultStatus program_nca_status; std::vector<VirtualDir> partitions; + std::shared_ptr<NSP> secure_partition; + std::shared_ptr<NCA> program; std::vector<std::shared_ptr<NCA>> ncas; }; } // namespace FileSys |