Skip to content

Commit

Permalink
Fix SceInvitationDialogUpdateStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
Ordinary205 committed Mar 5, 2024
1 parent 3ab6b2c commit aaa4244
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 35 deletions.
1 change: 0 additions & 1 deletion fpPS4.lpr
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
ps4_libSceSocialScreen,
ps4_libSceVideoRecording,
ps4_libSceWebBrowserDialog,
ps4_libSceInvitationDialog,
ps4_libSceCompanionHttpd,
ps4_libSceCompanionUtil,
ps4_libSceContentExport,
Expand Down
20 changes: 20 additions & 0 deletions src/ps4_libscedialogs.pas
Original file line number Diff line number Diff line change
Expand Up @@ -560,6 +560,13 @@ function ps4_sceNpFriendListDialogUpdateStatus():Integer; SysV_ABI_CDecl;

//

function ps4_sceInvitationDialogUpdateStatus():Integer; SysV_ABI_CDecl;
begin
Result:=0;
end;

//

function Load_libSceCommonDialog(Const name:RawByteString):TElf_node;
var
lib:PLIBRARY;
Expand Down Expand Up @@ -720,6 +727,17 @@ function Load_libSceNpFriendListDialog(Const name:RawByteString):TElf_node;
lib^.set_proc($7EBC33DDECAE03AC,@ps4_sceNpFriendListDialogUpdateStatus);
end;

function Load_libSceInvitationDialog(Const name:RawByteString):TElf_node;
var
lib:PLIBRARY;
begin
Result:=TElf_node.Create;
Result.pFileName:=name;

lib:=Result._add_lib('libSceInvitationDialog');
lib^.set_proc($F7E83D88EABEEE48,@ps4_sceInvitationDialogUpdateStatus);
end;

initialization
ps4_app.RegistredPreLoad('libSceCommonDialog.prx' ,@Load_libSceCommonDialog);
ps4_app.RegistredPreLoad('libSceErrorDialog.prx' ,@Load_libSceErrorDialog);
Expand All @@ -732,6 +750,8 @@ initialization
ps4_app.RegistredPreLoad('libSceImeDialog.prx' ,@Load_libSceImeDialog);
ps4_app.RegistredPreLoad('libSceLoginDialog.prx' ,@Load_libSceLoginDialog);
ps4_app.RegistredPreLoad('libSceHmdSetupDialog.prx' ,@Load_libSceHmdSetupDialog);
ps4_app.RegistredPreLoad('libSceNpFriendListDialog.prx' ,@Load_libSceNpFriendListDialog);
ps4_app.RegistredPreLoad('libSceInvitationDialog.prx' ,@Load_libSceInvitationDialog);

end.

34 changes: 0 additions & 34 deletions src/ps4_libsceinvitationdialog.pas

This file was deleted.

0 comments on commit aaa4244

Please sign in to comment.