From 90b83f6b3e89f863b424fd7c7f684f86315f03a2 Mon Sep 17 00:00:00 2001 From: lioncash Date: Mon, 24 Mar 2014 09:08:32 -0400 Subject: [PATCH] Fix a missing return in an if statement in sceNpTrophyCreateContext. --- rpcs3/Emu/SysCalls/Modules/sceNpTrophy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/SysCalls/Modules/sceNpTrophy.cpp b/rpcs3/Emu/SysCalls/Modules/sceNpTrophy.cpp index 74d210413d..0a5613a8f9 100644 --- a/rpcs3/Emu/SysCalls/Modules/sceNpTrophy.cpp +++ b/rpcs3/Emu/SysCalls/Modules/sceNpTrophy.cpp @@ -61,7 +61,7 @@ int sceNpTrophyCreateContext(mem32_t context, mem_ptr_t co if (!context.IsGood()) return SCE_NP_TROPHY_ERROR_INVALID_ARGUMENT; if (options & (~(u64)1)) - SCE_NP_TROPHY_ERROR_NOT_SUPPORTED; + return SCE_NP_TROPHY_ERROR_NOT_SUPPORTED; // TODO: There are other possible errors // TODO: Is the TROPHY.TRP file necessarily located in this path?