mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-13 08:17:51 +00:00
file_sys: Use common KeyManager in NCA container types
Creates a single KeyManager for the entire container and then passes it into the NCA constructor, eliminating several unnecessary KeyManager reads.
This commit is contained in:
parent
141551e560
commit
cf81685cc8
6 changed files with 18 additions and 7 deletions
|
@ -70,6 +70,8 @@ private:
|
|||
std::map<u64, std::map<ContentRecordType, std::shared_ptr<NCA>>> ncas;
|
||||
std::vector<VirtualFile> ticket_files;
|
||||
|
||||
Core::Crypto::KeyManager keys;
|
||||
|
||||
VirtualFile romfs;
|
||||
VirtualDir exefs;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue