mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
sceNpScore: return error on 0 scores returned
This commit is contained in:
parent
d1a7bb0136
commit
8170b91f76
1 changed files with 5 additions and 1 deletions
|
@ -999,7 +999,11 @@ namespace np
|
|||
lastSortDate->tick = resp->lastSortDate();
|
||||
*totalRecord = resp->totalRecord();
|
||||
|
||||
trans_ctx->result = not_an_error(fb_rankarray->size());
|
||||
if (fb_rankarray->size())
|
||||
trans_ctx->result = not_an_error(fb_rankarray->size());
|
||||
else
|
||||
trans_ctx->result = SCE_NP_COMMUNITY_SERVER_ERROR_GAME_RANKING_NOT_FOUND;
|
||||
|
||||
trans_ctx->wake_cond.notify_one();
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue