mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 17:11:23 +00:00
hle: Implement ID_CURRENT_USER_HAS_NP_ACCOUNT (#8864)
This commit is contained in:
parent
43fce92aa9
commit
22dc2947b3
@ -251,8 +251,9 @@ error_code cellSysutilGetSystemParamInt(CellSysutilParamId id, vm::ptr<s32> valu
|
|||||||
*value = CELL_SYSUTIL_GAME_PARENTAL_LEVEL0_RESTRICT_OFF;
|
*value = CELL_SYSUTIL_GAME_PARENTAL_LEVEL0_RESTRICT_OFF;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
// Report user has an NP account when np_psn_status is Fake or RPCN
|
||||||
case CELL_SYSUTIL_SYSTEMPARAM_ID_CURRENT_USER_HAS_NP_ACCOUNT:
|
case CELL_SYSUTIL_SYSTEMPARAM_ID_CURRENT_USER_HAS_NP_ACCOUNT:
|
||||||
*value = 0;
|
*value = g_cfg.net.psn_status != np_psn_status::disabled;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case CELL_SYSUTIL_SYSTEMPARAM_ID_CAMERA_PLFREQ:
|
case CELL_SYSUTIL_SYSTEMPARAM_ID_CAMERA_PLFREQ:
|
||||||
|
Loading…
Reference in New Issue
Block a user