Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sceSystemGestureUpdateTouchRecognizer + sceShareUtilityAdvanceSetUploadContentData #180

Merged
merged 2 commits into from
Jan 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading