mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 13:31:27 +12: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();
|
lastSortDate->tick = resp->lastSortDate();
|
||||||
*totalRecord = resp->totalRecord();
|
*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();
|
trans_ctx->wake_cond.notify_one();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue