mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-02 04:36:57 -06:00
trophies: fix return value of GetUnlockedPlatinumID with invalid file
This commit is contained in:
parent
375eb21c07
commit
9c719a5857
@ -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();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user