Skip to content

Commit

Permalink
sceHmdReprojectionInitialize
Browse files Browse the repository at this point in the history
  • Loading branch information
Ordinary205 committed Feb 8, 2024
1 parent 7c7c04a commit a6462ab
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/ps4_libscehmd.pas
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,20 @@ interface
SCE_HMD_ERROR_PARAMETER_NULL=Integer($81110008);

type
pSceHmdReprojectionResourceInfo=^SceHmdReprojectionResourceInfo;
SceHmdReprojectionResourceInfo=packed record
pOnionBuff :Pointer;
pGarlicBuff :Pointer;
threadPriority :Integer;
cpuAffinityMask:QWORD;
pipeId :DWORD;
queueId :DWORD;
reserved :array[0..2] of DWORD;
end;

pSceHmdReprojectionReprojectionType=^SceHmdReprojectionReprojectionType;
SceHmdReprojectionReprojectionType=Integer;

pSceHmdDeviceInformation=^SceHmdDeviceInformation;
SceHmdDeviceInformation=packed record
status:DWORD;
Expand Down Expand Up @@ -58,6 +72,13 @@ function ps4_sceHmdInitialize315(param:Pointer):Integer; SysV_ABI_CDecl;
Result:=0;
end;

function ps4_sceHmdReprojectionInitialize(resource:pSceHmdReprojectionResourceInfo;
_type:SceHmdReprojectionReprojectionType;
option:Pointer):Integer; SysV_ABI_CDecl;
begin
Result:=0;
end;

function ps4_sceHmdReprojectionQueryOnionBuffSize():Integer; SysV_ABI_CDecl;
begin
Result:=$810;
Expand Down Expand Up @@ -154,6 +175,7 @@ function Load_libSceHmd(Const name:RawByteString):TElf_node;
lib:=Result._add_lib('libSceHmd');
lib^.set_proc($2B82A71F44244F67,@ps4_sceHmdInitialize);
lib^.set_proc($B3F27AE9AAFD839D,@ps4_sceHmdInitialize315);
lib^.set_proc($3AECA01845A48A7B,@ps4_sceHmdReprojectionInitialize);
lib^.set_proc($90B50090DE9AD5EF,@ps4_sceHmdReprojectionQueryOnionBuffSize);
lib^.set_proc($216C9B59B47FC6F0,@ps4_sceHmdReprojectionQueryOnionBuffAlign);
lib^.set_proc($CF42AD375BEA1761,@ps4_sceHmdReprojectionQueryGarlicBuffSize);
Expand Down

0 comments on commit a6462ab

Please sign in to comment.