mirror of https://github.com/RPCS3/rpcs3.git
Fix scenp_score_record_score param check
This commit is contained in:
parent
3f66297593
commit
c49ff490bc
|
@ -5641,11 +5641,6 @@ error_code scenp_score_record_score(s32 transId, SceNpScoreBoardId boardId, SceN
|
||||||
data_size = 64;
|
data_size = 64;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (option)
|
|
||||||
{
|
|
||||||
return SCE_NP_COMMUNITY_ERROR_INVALID_ARGUMENT;
|
|
||||||
}
|
|
||||||
|
|
||||||
nph.record_score(trans_ctx, boardId, score, scoreComment, data, data_size, tmpRank, async);
|
nph.record_score(trans_ctx, boardId, score, scoreComment, data, data_size, tmpRank, async);
|
||||||
|
|
||||||
if (async)
|
if (async)
|
||||||
|
|
Loading…
Reference in New Issue