From b6c8374aa5370a386d069b8f20a85b2323a18e9e Mon Sep 17 00:00:00 2001 From: digant73 Date: Sun, 19 Apr 2026 16:19:51 +0200 Subject: [PATCH] Fix region range check on ISO file --- rpcs3/Loader/ISO.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Loader/ISO.cpp b/rpcs3/Loader/ISO.cpp index 8ec93ec8c7..0dd50501b6 100644 --- a/rpcs3/Loader/ISO.cpp +++ b/rpcs3/Loader/ISO.cpp @@ -199,7 +199,7 @@ bool iso_file_decryption::init(const std::string& path) const u32 region_count = char_arr_BE_to_uint(sec0_sec1.data()); // Ensure the region count is a proper value - if (region_count < 1 || region_count > 31) // It's non-PS3ISO + if (region_count < 1 || region_count > 127) // It's non-PS3ISO { iso_log.error("init: Failed to read region information: '%s' (region_count=%d)", path, region_count); return false;