From 9c719a5857a61d7c652660302f2b7bdacb2f932e Mon Sep 17 00:00:00 2001 From: Megamouse Date: Sat, 30 May 2026 23:47:00 +0200 Subject: [PATCH] trophies: fix return value of GetUnlockedPlatinumID with invalid file --- rpcs3/Loader/TROPUSR.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Loader/TROPUSR.cpp b/rpcs3/Loader/TROPUSR.cpp index 55d6415955..dc47a643a1 100644 --- a/rpcs3/Loader/TROPUSR.cpp +++ b/rpcs3/Loader/TROPUSR.cpp @@ -286,7 +286,7 @@ u32 TROPUSRLoader::GetUnlockedPlatinumID(u32 trophy_id, const std::string& confi if (!trophy_base) { trp_log.error("TROPUSRLoader::GetUnlockedPlatinumID: Failed to read file (root is null): %s", config_path); - return false; + return invalid_trophy_id; } const usz trophy_count = m_table4.size();