mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
IOS: Use a std::array for the title key instead of vector
The title key is always 16 bytes, so it doesn't make sense to make it a std::vector.
This commit is contained in:
parent
aa020040f6
commit
6d821de2b9
5 changed files with 7 additions and 8 deletions
|
@ -186,7 +186,7 @@ void NANDContentLoader::InitializeContentEntries(const std::vector<u8>& data_app
|
|||
m_Content.resize(contents.size());
|
||||
|
||||
u32 data_app_offset = 0;
|
||||
const std::vector<u8> title_key = m_ticket.GetTitleKey();
|
||||
const std::array<u8, 16> title_key = m_ticket.GetTitleKey();
|
||||
IOS::ES::SharedContentMap shared_content{m_root};
|
||||
|
||||
for (size_t i = 0; i < contents.size(); ++i)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue