From 6d821de2b9803e2a4993ae4e6b38a4b8126a61fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Mon, 26 Jun 2017 23:38:58 +0200 Subject: 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. --- Source/Core/DiscIO/NANDContentLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/DiscIO/NANDContentLoader.cpp') diff --git a/Source/Core/DiscIO/NANDContentLoader.cpp b/Source/Core/DiscIO/NANDContentLoader.cpp index fe5d77d15e..0178c3c14e 100644 --- a/Source/Core/DiscIO/NANDContentLoader.cpp +++ b/Source/Core/DiscIO/NANDContentLoader.cpp @@ -186,7 +186,7 @@ void NANDContentLoader::InitializeContentEntries(const std::vector& data_app m_Content.resize(contents.size()); u32 data_app_offset = 0; - const std::vector title_key = m_ticket.GetTitleKey(); + const std::array title_key = m_ticket.GetTitleKey(); IOS::ES::SharedContentMap shared_content{m_root}; for (size_t i = 0; i < contents.size(); ++i) -- cgit v1.2.3