mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Merge pull request #845 from Survanium90/master
Various changes in CellGem, SceNP and CellMic
This commit is contained in:
commit
59c8def566
7 changed files with 251 additions and 79 deletions
|
|
@ -962,9 +962,17 @@ int sceNpManagerGetAccountAge()
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue