mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 08:22:32 +00:00
return -1 if trophy xml not found . Fixes undertale
This commit is contained in:
parent
0fc253403d
commit
26aecda87f
@ -520,7 +520,7 @@ s32 PS4_SYSV_ABI sceNpTrophyGetTrophyUnlockState(OrbisNpTrophyContext context,
|
|||||||
|
|
||||||
if (!result) {
|
if (!result) {
|
||||||
LOG_ERROR(Lib_NpTrophy, "Failed to open trophy xml : {}", result.description());
|
LOG_ERROR(Lib_NpTrophy, "Failed to open trophy xml : {}", result.description());
|
||||||
return ORBIS_OK;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int num_trophies = 0;
|
int num_trophies = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user