Skip to content

Commit

Permalink
sceSystemGestureUpdateTouchRecognizer + sceShareUtilityAdvanceSetUplo…
Browse files Browse the repository at this point in the history
…adContentData (#180)

* sceSystemGestureUpdateTouchRecognizer

* sceShareUtilityAdvanceSetUploadContentData
  • Loading branch information
Ordinary205 authored Jan 29, 2024
1 parent 9af0047 commit 585d06f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/ps4_libsceshareutility.pas
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ function ps4_sceShareUtilityAdvanceInitialize(functionFlag:QWORD;
Result:=0;
end;

function ps4_sceShareUtilityAdvanceSetUploadContentData(const contentData:PChar;
contentDataLength:QWORD):Integer; SysV_ABI_CDecl;
begin
Result:=0;
end;

function Load_libSceShareUtility(Const name:RawByteString):TElf_node;
var
lib:PLIBRARY;
Expand All @@ -39,6 +45,7 @@ function Load_libSceShareUtility(Const name:RawByteString):TElf_node;
lib:=Result._add_lib('libSceShareUtility');
lib^.set_proc($8FB0E56A50731E1F,@ps4_sceShareUtilityInitializeEx2);
lib^.set_proc($BB86C21A4AA1381E,@ps4_sceShareUtilityAdvanceInitialize);
lib^.set_proc($91AAE72616A474A8,@ps4_sceShareUtilityAdvanceSetUploadContentData);
end;

initialization
Expand Down
7 changes: 7 additions & 0 deletions src/ps4_libscesystemgesture.pas
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,12 @@ function ps4_sceSystemGestureUpdateAllTouchRecognizer(gestureHandle:Integer):Int
Result:=0;
end;

function ps4_sceSystemGestureUpdateTouchRecognizer(gestureHandle:Integer;
touchRecognizer:pSceSystemGestureTouchRecognizer):Integer; SysV_ABI_CDecl;
begin
Result:=0;
end;

function ps4_sceSystemGestureGetTouchEventsCount(gestureHandle:Integer;
const touchRecognizer:pSceSystemGestureTouchRecognizer):Integer; SysV_ABI_CDecl;
begin
Expand All @@ -167,6 +173,7 @@ function Load_libSceSystemGesture(Const name:RawByteString):TElf_node;
lib^.set_proc($D4C30AD16FE43200,@ps4_sceSystemGestureAppendTouchRecognizer);
lib^.set_proc($1A014C6F6DAC6DB2,@ps4_sceSystemGestureUpdatePrimitiveTouchRecognizer);
lib^.set_proc($C0F246C08D913362,@ps4_sceSystemGestureUpdateAllTouchRecognizer);
lib^.set_proc($8F887CD8241610DA,@ps4_sceSystemGestureUpdateTouchRecognizer);
lib^.set_proc($87CBA89E0701355B,@ps4_sceSystemGestureGetTouchEventsCount);
end;

Expand Down

0 comments on commit 585d06f

Please sign in to comment.