From 60f39060c68605c6b3628cea37ef4353f06b5d0e Mon Sep 17 00:00:00 2001 From: Zach Hilman Date: Fri, 28 Dec 2018 00:03:38 -0500 Subject: core: Port current uses of RegisteredCache to ContentProvider --- src/core/file_sys/submission_package.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/core/file_sys/submission_package.h') diff --git a/src/core/file_sys/submission_package.h b/src/core/file_sys/submission_package.h index 9a28ed5bb..ee9b6ce17 100644 --- a/src/core/file_sys/submission_package.h +++ b/src/core/file_sys/submission_package.h @@ -42,9 +42,12 @@ public: // Type 0 Only (Collection of NCAs + Certificate + Ticket + Meta XML) std::vector> GetNCAsCollapsed() const; std::multimap> GetNCAsByTitleID() const; - std::map>> GetNCAs() const; - std::shared_ptr GetNCA(u64 title_id, ContentRecordType type) const; - VirtualFile GetNCAFile(u64 title_id, ContentRecordType type) const; + std::map, std::shared_ptr>> GetNCAs() + const; + std::shared_ptr GetNCA(u64 title_id, ContentRecordType type, + TitleType title_type = TitleType::Application) const; + VirtualFile GetNCAFile(u64 title_id, ContentRecordType type, + TitleType title_type = TitleType::Application) const; std::vector GetTitlekey() const; std::vector GetFiles() const override; @@ -67,7 +70,7 @@ private: std::shared_ptr pfs; // Map title id -> {map type -> NCA} - std::map>> ncas; + std::map, std::shared_ptr>> ncas; std::vector ticket_files; Core::Crypto::KeyManager keys; -- cgit v1.2.3