Fix libSceNpProfileDialog

This commit is contained in:
red-prig 2024-03-02 23:52:56 +03:00
parent 34a6f77bb4
commit 56146e90e3
3 changed files with 6 additions and 35 deletions

View File

@ -44,7 +44,6 @@ uses
ps4_libSceNpGameIntent,
ps4_libSceNpAuth,
ps4_libSceNpParty,
ps4_libSceNpProfileDialog,
ps4_libSceSaveData,
ps4_libSceDialogs,
ps4_libSceUserService,

View File

@ -1,34 +0,0 @@
unit ps4_libSceNpProfileDialog;
{$mode ObjFPC}{$H+}
interface
uses
ps4_program,
Classes,
SysUtils;
implementation
function ps4_sceNpProfileDialogTerminate():Integer; SysV_ABI_CDecl;
begin
Result:=0;
end;
function Load_libSceNpProfileDialog(Const name:RawByteString):TElf_node;
var
lib:PLIBRARY;
begin
Result:=TElf_node.Create;
Result.pFileName:=name;
lib:=Result._add_lib('libSceNpProfileDialog');
lib^.set_proc($D12A7DBC9701D7FC,@ps4_sceNpProfileDialogTerminate);
end;
initialization
ps4_app.RegistredPreLoad('libSceNpProfileDialog.prx',@Load_libSceNpProfileDialog);
end.

View File

@ -133,6 +133,11 @@ begin
Result:=status_profile_dialog;
end;
function ps4_sceNpProfileDialogTerminate():Integer; SysV_ABI_CDecl;
begin
Result:=0;
end;
//
var
@ -586,6 +591,7 @@ begin
lib:=Result._add_lib('libSceNpProfileDialog');
lib^.set_proc($2E0F8D084EA94F04,@ps4_sceNpProfileDialogInitialize);
lib^.set_proc($85A55913D1602AA1,@ps4_sceNpProfileDialogUpdateStatus);
lib^.set_proc($D12A7DBC9701D7FC,@ps4_sceNpProfileDialogTerminate);
end;
//