diff options
author | FearlessTobi <thm.frey@gmail.com> | 2020-05-20 21:28:16 +0200 |
---|---|---|
committer | FearlessTobi <thm.frey@gmail.com> | 2020-05-20 21:28:16 +0200 |
commit | 9f82a9a2444a232e746992fa89084b928255cb63 (patch) | |
tree | 2d26c90e5bb2edf975afe511f9999beca8c48382 /src/core/file_sys/submission_package.cpp | |
parent | Merge pull request #3815 from FernandoS27/command-list-2 (diff) | |
download | yuzu-9f82a9a2444a232e746992fa89084b928255cb63.tar yuzu-9f82a9a2444a232e746992fa89084b928255cb63.tar.gz yuzu-9f82a9a2444a232e746992fa89084b928255cb63.tar.bz2 yuzu-9f82a9a2444a232e746992fa89084b928255cb63.tar.lz yuzu-9f82a9a2444a232e746992fa89084b928255cb63.tar.xz yuzu-9f82a9a2444a232e746992fa89084b928255cb63.tar.zst yuzu-9f82a9a2444a232e746992fa89084b928255cb63.zip |
Diffstat (limited to 'src/core/file_sys/submission_package.cpp')
-rw-r--r-- | src/core/file_sys/submission_package.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/file_sys/submission_package.cpp b/src/core/file_sys/submission_package.cpp index ef3084681..c35a0d10b 100644 --- a/src/core/file_sys/submission_package.cpp +++ b/src/core/file_sys/submission_package.cpp @@ -21,7 +21,7 @@ namespace FileSys { namespace { void SetTicketKeys(const std::vector<VirtualFile>& files) { - Core::Crypto::KeyManager keys; + Core::Crypto::KeyManager& keys = Core::Crypto::KeyManager::instance(); for (const auto& ticket_file : files) { if (ticket_file == nullptr) { @@ -285,7 +285,7 @@ void NSP::ReadNCAs(const std::vector<VirtualFile>& files) { continue; } - auto next_nca = std::make_shared<NCA>(std::move(next_file), nullptr, 0, keys); + auto next_nca = std::make_shared<NCA>(std::move(next_file), nullptr, 0); if (next_nca->GetType() == NCAContentType::Program) { program_status[cnmt.GetTitleID()] = next_nca->GetStatus(); } |