mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 14:31:24 +12:00
Set AccountAge to 18 to fix age restriction checks, fix incorrect logged function name (#9218)
This commit is contained in:
parent
a3eb5c2d63
commit
a28ab0a408
1 changed files with 3 additions and 1 deletions
|
@ -2737,6 +2737,8 @@ error_code sceNpManagerGetAccountAge(vm::ptr<s32> age)
|
||||||
return SCE_NP_ERROR_INVALID_STATE;
|
return SCE_NP_ERROR_INVALID_STATE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*age = 18;
|
||||||
|
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2807,7 +2809,7 @@ error_code sceNpManagerGetChatRestrictionFlag(vm::ptr<s32> isRestricted)
|
||||||
|
|
||||||
error_code sceNpManagerGetCachedInfo(CellSysutilUserId userId, vm::ptr<SceNpManagerCacheParam> param)
|
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>>();
|
const auto nph = g_fxo->get<named_thread<np_handler>>();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue