Skip to content

Commit

Permalink
sceNpTusCreateNpTitleCtx (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kagamma committed Mar 14, 2023
1 parent b214aee commit def590c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/np/ps4_libscenptus.pas
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
interface

uses
ps4_program;
ps4_program,
ps4_libscenpcommon;

implementation

Expand All @@ -14,6 +15,11 @@ function ps4_sceNpTssCreateNpTitleCtx(serviceLabel:DWord;id:Integer):Integer; Sy
Result:=-1;
end;

function ps4_sceNpTusCreateNpTitleCtx(serviceLabel:DWord;npId:PSceNpId):Integer; SysV_ABI_CDecl;
begin
Result:=-1;
end;

function Load_libSceNpTus(Const name:RawByteString):TElf_node;
var
lib:PLIBRARY;
Expand All @@ -23,6 +29,7 @@ function Load_libSceNpTus(Const name:RawByteString):TElf_node;

lib:=Result._add_lib('libSceNpTus');
lib^.set_proc($B1155BD827F41878,@ps4_sceNpTssCreateNpTitleCtx);
lib^.set_proc($04890C9947CD2963,@ps4_sceNpTusCreateNpTitleCtx);
end;

initialization
Expand Down

0 comments on commit def590c

Please sign in to comment.