mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-22 22:07:48 +00:00
content_archive: Pass and take NCASectionHeader instance by reference
Each header is 512 bytes in size, which is kind of an excessive amount to copy all the time when it's possible to avoid doing so.
This commit is contained in:
parent
57e652436a
commit
067a174e00
2 changed files with 3 additions and 3 deletions
|
|
@ -109,7 +109,7 @@ private:
|
|||
u8 GetCryptoRevision() const;
|
||||
boost::optional<Core::Crypto::Key128> GetKeyAreaKey(NCASectionCryptoType type) const;
|
||||
boost::optional<Core::Crypto::Key128> GetTitlekey();
|
||||
VirtualFile Decrypt(NCASectionHeader header, VirtualFile in, u64 starting_offset);
|
||||
VirtualFile Decrypt(const NCASectionHeader& header, VirtualFile in, u64 starting_offset);
|
||||
|
||||
std::vector<VirtualDir> dirs;
|
||||
std::vector<VirtualFile> files;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue