From 8b6f68abcffe6411f14177e98821fc89164ccb55 Mon Sep 17 00:00:00 2001 From: RipleyTom Date: Sun, 29 May 2022 22:17:54 +0200 Subject: [PATCH] fix: parsing bug in read_metadata --- rpcs3/Crypto/unpkg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Crypto/unpkg.cpp b/rpcs3/Crypto/unpkg.cpp index 494f80c02d..fafe0228c7 100644 --- a/rpcs3/Crypto/unpkg.cpp +++ b/rpcs3/Crypto/unpkg.cpp @@ -286,7 +286,7 @@ bool package_reader::read_metadata() if (packet.size == m_metadata.title_id.size()) { - archive_read(&m_metadata.title_id, m_metadata.title_id.size()); + archive_read(&m_metadata.title_id.front(), m_metadata.title_id.size()); m_metadata.title_id = fmt::trim(m_metadata.title_id); pkg_log.notice("Metadata: Title ID = %s", m_metadata.title_id); continue;