mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-19 19:15:26 +00:00
unpkg: Restore support for PSP/Vita packages
This commit is contained in:
parent
32a8bcf525
commit
095c884331
1 changed files with 1 additions and 1 deletions
|
@ -528,7 +528,7 @@ bool package_reader::read_entries(std::vector<PKGEntry>& entries)
|
|||
entries.clear();
|
||||
entries.resize(m_header.file_count + BUF_PADDING / sizeof(PKGEntry) + 1);
|
||||
|
||||
const usz read_size = decrypt(0, m_header.file_count * sizeof(PKGEntry), m_dec_key.data(), entries.data());
|
||||
const usz read_size = decrypt(0, m_header.file_count * sizeof(PKGEntry), m_header.pkg_platform == PKG_PLATFORM_TYPE_PSP_PSVITA ? PKG_AES_KEY2 : m_dec_key.data(), entries.data());
|
||||
|
||||
if (read_size < m_header.file_count * sizeof(PKGEntry))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue