sceGameLiveStreamingSetMaxBitrate, sceNpMatching2Terminate and sceNpTrophyDestroyContext (#150)

* sceGameLiveStreamingSetMaxBitrate

* SceNpMatching2Terminate

* sceNpTrophyDestroyContext

* fix params

---------

Co-authored-by: red-prig <vdpasha@mail.ru>
This commit is contained in:
Ordinary205 2023-12-24 15:34:38 +04:00 committed by GitHub
parent f6e4ae465a
commit 08a56cf3e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 1 deletions

View File

@ -43,7 +43,6 @@ type
errorCode:Integer;
arg:Pointer); SysV_ABI_CDecl;
function ps4_sceNpMatching2Initialize(param:pSceNpMatching2InitializeParameter):Integer; SysV_ABI_CDecl;
begin
Result:=0;
@ -61,6 +60,11 @@ begin
Result:=SCE_NP_MATCHING2_ERROR_NOT_INITIALIZED;
end;
function ps4_sceNpMatching2Terminate():Integer; SysV_ABI_CDecl;
begin
Result:=0;
end;
function Load_libSceNpMatching2(Const name:RawByteString):TElf_node;
var
lib:PLIBRARY;
@ -72,6 +76,7 @@ begin
lib^.set_proc($D74B777B9F893E75,@ps4_sceNpMatching2Initialize);
lib^.set_proc($7D041F3FCEC8EE1B,@ps4_sceNpMatching2RegisterContextCallback);
lib^.set_proc($61F9A95BBD7DACCA,@ps4_sceNpMatching2CreateContext);
lib^.set_proc($32AA77949FAC8F2E,@ps4_sceNpMatching2Terminate);
end;
initialization

View File

@ -148,6 +148,12 @@ begin
Result:=0;
end;
function ps4_sceNpTrophyDestroyContext(context:Integer):Integer; SysV_ABI_CDecl;
begin
Writeln('sceNpTrophyDestroyContext');
Result:=0;
end;
function ps4_sceNpTrophyDestroyHandle(handle:Integer):Integer; SysV_ABI_CDecl;
begin
Writeln('sceNpTrophyDestroyHandle:',handle);
@ -327,6 +333,7 @@ begin
lib:=Result._add_lib('libSceNpTrophy');
lib^.set_proc($5DB9236E86D99426,@ps4_sceNpTrophyCreateContext);
lib^.set_proc($ABB53AB440107FB7,@ps4_sceNpTrophyCreateHandle);
lib^.set_proc($1355ABC1DD3B2EBF,@ps4_sceNpTrophyDestroyContext);
lib^.set_proc($18D705E2889D6346,@ps4_sceNpTrophyDestroyHandle);
lib^.set_proc($6939C7B3B5BFF549,@ps4_sceNpTrophyAbortHandle);
lib^.set_proc($4C9080C6DA3D4845,@ps4_sceNpTrophyRegisterContext);

View File

@ -122,6 +122,12 @@ begin
Result:=0;
end;
function ps4_sceGameLiveStreamingSetMaxBitrate(isSetMaxBitrate:DWORD):Integer; SysV_ABI_CDecl;
begin
Writeln('sceGameLiveStreamingSetMaxBitrate,isSetMaxBitrate=',isSetMaxBitrate);
Result:=0;
end;
function ps4_sceGameLiveStreamingSetStandbyScreenResource(resource:PChar):Integer; SysV_ABI_CDecl;
begin
Writeln('sceGameLiveStreamingSetStandbyScreenResource:',resource);
@ -145,6 +151,7 @@ begin
lib^.set_proc($0A83CCC77EBD12A3,@ps4_sceGameLiveStreamingGetCurrentStatus);
lib^.set_proc($94AF1D2C1369F4E1,@ps4_sceGameLiveStreamingGetCurrentStatus2);
lib^.set_proc($DCF4A2C00CC52121,@ps4_sceGameLiveStreamingSetCameraFrameSetting);
lib^.set_proc($ABF931B9A17B5115,@ps4_sceGameLiveStreamingSetMaxBitrate);
lib^.set_proc($30BBD823CE85140A,@ps4_sceGameLiveStreamingSetStandbyScreenResource);
end;