SceNpSignalingCreateContextA + listen + shutdown + ScePadOutputReport (#184)

* SceNpSignalingCreateContextA

* SceKernelAddTimerEvent + SceKernelDeleteTimerEvent

* listen

* ScePadOutputReport

* Remove SceKernelAddTimerEvent

* shutdown

* -

* +

---------

Co-authored-by: red-prig <vdpasha@mail.ru>
This commit is contained in:
Ordinary205 2024-02-03 19:30:51 +04:00 committed by GitHub
parent 97a133933a
commit accf9ec255
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 31 additions and 1 deletions

View File

@ -1981,6 +1981,8 @@ begin
lib^.set_proc($7C5C469311766D5A,@ps4_setsockopt);
lib^.set_proc($4FC7C447EB481A09,@ps4_select);
lib^.set_proc($95493AC2B197C8CC,@ps4_recvfrom);
lib^.set_proc($A719C299A82BB5AA,@ps4_listen);
lib^.set_proc($4D4BA2612DA413CB,@ps4_shutdown);
//socket

View File

@ -35,6 +35,9 @@ function ps4_recvfrom(s:SceNetId;
addr:pSceNetSockaddr;
paddrlen:pSceNetSocklen_t):Integer; SysV_ABI_CDecl;
function ps4_listen(s:SceNetId;backlog:Integer):Integer; SysV_ABI_CDecl;
function ps4_shutdown(s:SceNetId;how:Integer):Integer; SysV_ABI_CDecl;
implementation
@ -74,5 +77,15 @@ begin
Result:=0;
end;
function ps4_listen(s:SceNetId;backlog:Integer):Integer; SysV_ABI_CDecl;
begin
Result:=0;
end;
function ps4_shutdown(s:SceNetId;how:Integer):Integer; SysV_ABI_CDecl;
begin
Result:=0;
end;
end.

View File

@ -38,6 +38,14 @@ begin
Result:=0;
end;
function ps4_sceNpSignalingCreateContextA(npId:pSceNpId;
handler:SceNpSignalingHandler;
arg:Pointer;
ctxId:PDWORD):Integer; SysV_ABI_CDecl;
begin
Result:=0;
end;
function Load_libSceNpSignaling(Const name:RawByteString):TElf_node;
var
lib:PLIBRARY;
@ -47,7 +55,8 @@ begin
lib:=Result._add_lib('libSceNpSignaling');
lib^.set_proc($DCA3AE0B84666595,@ps4_sceNpSignalingInitialize);
lib^.set_proc($E7262311D778B7C6,@ps4_sceNpSignalingCreateContext)
lib^.set_proc($E7262311D778B7C6,@ps4_sceNpSignalingCreateContext);
lib^.set_proc($7432CD15D63C770B,@ps4_sceNpSignalingCreateContextA);
end;
initialization

View File

@ -385,6 +385,11 @@ begin
Result:=ps4_scePadGetControllerInformation(handle,@pInfo^.base);
end;
function ps4_scePadOutputReport(param_1:Integer;param_2:Byte;param_3:Pointer;param_4:QWORD):Integer; SysV_ABI_CDecl;
begin
Result:=0;
end;
function Load_libScePad(Const name:RawByteString):TElf_node;
var
lib:PLIBRARY;
@ -412,6 +417,7 @@ begin
lib^.set_proc($AF8E260317521BE5,@ps4_scePadSetAngularVelocityDeadbandState);
lib^.set_proc($58522249F5C652AF,@ps4_scePadOpenExt);
lib^.set_proc($8466DFD904C19AA7,@ps4_scePadGetExtControllerInformation);
lib^.set_proc($0EB52EF1C3EB8DEF,@ps4_scePadOutputReport);
end;
initialization