From c59667b689beac8013bb69284be1808d21bc612e Mon Sep 17 00:00:00 2001 From: Elad <18193363+elad335@users.noreply.github.com> Date: Thu, 10 Sep 2026 17:09:22 +0300 Subject: [PATCH] Fix theoretical PKG_MAX_FILE_COUNT limit As long as there is no proven calculation that limits it we should not lower it. --- rpcs3/Crypto/unpkg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Crypto/unpkg.h b/rpcs3/Crypto/unpkg.h index 3579104b74..5956f72729 100644 --- a/rpcs3/Crypto/unpkg.h +++ b/rpcs3/Crypto/unpkg.h @@ -14,7 +14,7 @@ enum : u32 { PKG_HEADER_SIZE = 0xC0, // sizeof(pkg_header) + sizeof(pkg_unk_checksum) PKG_HEADER_SIZE2 = 0x280, - PKG_MAX_FILE_COUNT = 1'000'000, + PKG_MAX_FILE_COUNT = 0x7FFF'FFFF, PKG_MAX_FILENAME_SIZE = 256, };