This commit is contained in:
Nekotekina 2015-01-26 15:55:26 +03:00
parent 12c13e6193
commit a7d85480a8
6 changed files with 38 additions and 8 deletions

View file

@ -468,7 +468,14 @@ s32 sceKernelCreateSema(vm::psv::ptr<const char> pName, u32 attr, s32 initCount,
s32 sceKernelDeleteSema(s32 semaId)
{
throw __FUNCTION__;
sceLibKernel.Error("sceKernelDeleteSema(semaId=0x%x)", semaId);
if (!g_psv_sema_list.remove(semaId))
{
RETURN_ERROR(SCE_KERNEL_ERROR_INVALID_UID);
}
throw SCE_OK;
}
s32 sceKernelOpenSema(vm::psv::ptr<const char> pName)