mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-12 02:59:51 +00:00
Implemented sceNpManagerGetContentRatingFlag
This commit is contained in:
parent
220e4ad8a6
commit
7fd3dd9ebf
1 changed files with 10 additions and 2 deletions
|
@ -962,9 +962,17 @@ int sceNpManagerGetAccountAge()
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
int sceNpManagerGetContentRatingFlag()
|
int sceNpManagerGetContentRatingFlag(vm::ptr<u32> isRestricted, vm::ptr<u32> age)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED_FUNC(sceNp);
|
sceNp->Warning("sceNpManagerGetContentRatingFlag(isRestricted=%d, age=%d)", isRestricted, age);
|
||||||
|
|
||||||
|
if (!sceNpInstance.m_bSceNpInitialized)
|
||||||
|
return SCE_NP_ERROR_NOT_INITIALIZED;
|
||||||
|
|
||||||
|
// TODO: read user's parental control information
|
||||||
|
*isRestricted = 0;
|
||||||
|
*age = 18;
|
||||||
|
|
||||||
return CELL_OK;
|
return CELL_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue