mem32_t replaced

This commit is contained in:
Nekotekina 2014-09-01 04:51:48 +04:00
parent 0b5ef1d8f9
commit 9501869aa1
65 changed files with 521 additions and 514 deletions

View file

@ -183,14 +183,14 @@ int sceNpDrmGetTimelimit(u32 drm_path_addr, vm::ptr<be_t<u64>> time_remain_usec)
return CELL_OK;
}
int sceNpManagerGetStatus(mem32_t status)
int sceNpManagerGetStatus(vm::ptr<be_t<u32>> status)
{
sceNp->Log("sceNpManagerGetStatus(status_addr=0x%x)", status.GetAddr());
sceNp->Log("sceNpManagerGetStatus(status_addr=0x%x)", status.addr());
// TODO: Check if sceNpInit() was called, if not return SCE_NP_ERROR_NOT_INITIALIZED
// TODO: Support different statuses
status = SCE_NP_MANAGER_STATUS_OFFLINE;
*status = SCE_NP_MANAGER_STATUS_OFFLINE;
return CELL_OK;
}