mirror of https://github.com/red-prig/fpPS4.git
SetPthreadSetcancelstate and SetPthreadSetcanceltype (#168)
* ScePthreadSetcancelstate * ScePthreadSetcanceltype
This commit is contained in:
parent
37263ee961
commit
ebc62880e3
|
@ -1541,6 +1541,8 @@ begin
|
|||
|
||||
lib^.set_proc($959CC5792C4F974F,@ps4_pthread_setcancelstate);
|
||||
lib^.set_proc($D9D121BEF8E5AB7D,@ps4_pthread_setcanceltype);
|
||||
lib^.set_proc($380996ABE3874A3C,@ps4_scePthreadSetcancelstate);
|
||||
lib^.set_proc($B0225DF7D3E172DD,@ps4_scePthreadSetcanceltype);
|
||||
|
||||
lib^.set_proc($128B51F1ADC049FE,@ps4_pthread_self);
|
||||
lib^.set_proc($688F8E782CFCC6B4,@ps4_scePthreadSelf);
|
||||
|
|
|
@ -34,6 +34,8 @@ function ps4_scePthreadCancel(_pthread:pthread):Integer; SysV_ABI_CDecl;
|
|||
|
||||
function ps4_pthread_setcancelstate(state:Integer;oldstate:PInteger):Integer; SysV_ABI_CDecl;
|
||||
function ps4_pthread_setcanceltype (_type:Integer;oldtype:PInteger):Integer; SysV_ABI_CDecl;
|
||||
function ps4_scePthreadSetcancelstate(state:Integer;oldState:PInteger):Integer; SysV_ABI_CDecl;
|
||||
function ps4_scePthreadSetcanceltype(_type:Integer;oldType:PInteger):Integer; SysV_ABI_CDecl;
|
||||
|
||||
function ps4_pthread_self():pthread; SysV_ABI_CDecl;
|
||||
function ps4_scePthreadSelf():pthread; SysV_ABI_CDecl;
|
||||
|
@ -515,6 +517,16 @@ begin
|
|||
end;
|
||||
end;
|
||||
|
||||
function ps4_scePthreadSetcancelstate(state:Integer;oldState:PInteger):Integer; SysV_ABI_CDecl;
|
||||
begin
|
||||
Result:=px2sce(ps4_pthread_setcancelstate(state,oldState));
|
||||
end;
|
||||
|
||||
function ps4_scePthreadSetcanceltype(_type:Integer;oldType:PInteger):Integer; SysV_ABI_CDecl;
|
||||
begin
|
||||
Result:=px2sce(ps4_pthread_setcanceltype(_type,oldType));
|
||||
end;
|
||||
|
||||
function ps4_pthread_self():pthread; SysV_ABI_CDecl;
|
||||
begin
|
||||
Result:=tcb_thread;
|
||||
|
|
Loading…
Reference in New Issue