Set AccountAge to 18 to fix age restriction checks, fix incorrect logged function name (#9218)

This commit is contained in:
Morgan Creekmore
2020-11-07 03:47:44 -06:00
committed by GitHub
parent a3eb5c2d63
commit a28ab0a408
+3 -1
View File
@@ -2737,6 +2737,8 @@ error_code sceNpManagerGetAccountAge(vm::ptr<s32> age)
return SCE_NP_ERROR_INVALID_STATE;
}
*age = 18;
return CELL_OK;
}
@@ -2807,7 +2809,7 @@ error_code sceNpManagerGetChatRestrictionFlag(vm::ptr<s32> isRestricted)
error_code sceNpManagerGetCachedInfo(CellSysutilUserId userId, vm::ptr<SceNpManagerCacheParam> param)
{
sceNp.todo("sceNpManagerGetChatRestrictionFlag(userId=%d, param=*0x%x)", userId, param);
sceNp.todo("sceNpManagerGetCachedInfo(userId=%d, param=*0x%x)", userId, param);
const auto nph = g_fxo->get<named_thread<np_handler>>();