From 22dc2947b3c57b4800fa53b9a684e10f88d65305 Mon Sep 17 00:00:00 2001 From: Ani Date: Tue, 8 Sep 2020 15:12:47 +0100 Subject: [PATCH] hle: Implement ID_CURRENT_USER_HAS_NP_ACCOUNT (#8864) --- rpcs3/Emu/Cell/Modules/cellSysutil.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/Modules/cellSysutil.cpp b/rpcs3/Emu/Cell/Modules/cellSysutil.cpp index 0b25f45bed..b1b4542ed9 100644 --- a/rpcs3/Emu/Cell/Modules/cellSysutil.cpp +++ b/rpcs3/Emu/Cell/Modules/cellSysutil.cpp @@ -251,8 +251,9 @@ error_code cellSysutilGetSystemParamInt(CellSysutilParamId id, vm::ptr valu *value = CELL_SYSUTIL_GAME_PARENTAL_LEVEL0_RESTRICT_OFF; 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: - *value = 0; + *value = g_cfg.net.psn_status != np_psn_status::disabled; break; case CELL_SYSUTIL_SYSTEMPARAM_ID_CAMERA_PLFREQ: