From 2613d7eee7de144e80b7c2e866a4c3dd8ad24f33 Mon Sep 17 00:00:00 2001 From: Radu13 Date: Tue, 19 May 2026 20:11:44 +0200 Subject: [PATCH] Do not append install dir for content type theme PKGs (#18765) --- rpcs3/Crypto/unpkg.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpcs3/Crypto/unpkg.cpp b/rpcs3/Crypto/unpkg.cpp index de23f5f1ba..aad8555053 100644 --- a/rpcs3/Crypto/unpkg.cpp +++ b/rpcs3/Crypto/unpkg.cpp @@ -807,7 +807,8 @@ bool package_reader::set_install_path() } // TODO: Verify whether other content types require appending title ID - if (m_metadata.content_type != PKG_CONTENT_TYPE_LICENSE) + // Append title ID depending on content type + if (m_metadata.content_type != PKG_CONTENT_TYPE_THEME && m_metadata.content_type != PKG_CONTENT_TYPE_LICENSE) dir += m_install_dir + '/'; // If false, an existing directory is being overwritten: cannot cancel the operation