mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-29 23:41:19 -06:00
Fix our workaround for missing trophy key. (#4306)
This commit is contained in:
parent
417d91cc79
commit
da7b673704
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user