Fix our workaround for missing trophy key. (#4306)

This commit is contained in:
Stephen Miller 2026-04-23 07:10:19 -05:00 committed by GitHub
parent 417d91cc79
commit da7b673704
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -840,8 +840,10 @@ int PS4_SYSV_ABI sceNpTrophyRegisterContext(OrbisNpTrophyContext context,
if (ctx.registered)
return ORBIS_NP_TROPHY_ERROR_ALREADY_REGISTERED;
if (!std::filesystem::exists(ctx.trophy_xml_path))
return ORBIS_NP_TROPHY_ERROR_TITLE_CONF_NOT_INSTALLED;
if (!std::filesystem::exists(ctx.trophy_xml_path)) {
LOG_ERROR(Lib_NpTrophy, "Could not find trophy files.");
// Stub success here to prevent issues specific to missing a trophy key.
}
ctx.registered = true;
LOG_INFO(Lib_NpTrophy, "Context {} registered", context);