mirror of
https://github.com/red-prig/fpPS4.git
synced 2024-11-23 06:19:57 +00:00
libSceGnmDriverResourceRegistration: sceGnmFindResources, sceGnmGetResourceRegistrationBuffers, sceGnmRegisterOwnerForSystem
This commit is contained in:
parent
daa2ecbbad
commit
2d97b84dc2
@ -1999,6 +1999,15 @@ begin
|
||||
Result:=SCE_GNM_ERROR_FAILURE;
|
||||
end;
|
||||
|
||||
function ps4_sceGnmFindResources(const pTestArea:Pointer;
|
||||
testSizeInBytes:QWORD;
|
||||
foundResourceCallback:FoundResourceCallback;
|
||||
callbackData:QWORD):Integer; SysV_ABI_CDecl;
|
||||
begin
|
||||
Writeln('sceGnmFindResources:',callbackData);
|
||||
Result:=SCE_GNM_ERROR_FAILURE;
|
||||
end;
|
||||
|
||||
function ps4_sceGnmRegisterOwner(pOwnerHandle:PInteger;ownerName:Pchar):Integer; SysV_ABI_CDecl;
|
||||
begin
|
||||
Writeln('sceGnmRegisterOwner:',ownerName);
|
||||
@ -2280,6 +2289,12 @@ begin
|
||||
|
||||
//nop nid:libSceGnmDriver:DBDA0ABCA5F3119A:sceGnmMapComputeQueue
|
||||
|
||||
lib:=Result._add_lib('libSceGnmDriverResourceRegistration');
|
||||
|
||||
lib^.set_proc($BDB711E0A7A7E800,@ps4_sceGnmFindResources);
|
||||
lib^.set_proc($78B41B36C29E4E45,@ps4_sceGnmGetResourceRegistrationBuffers);
|
||||
lib^.set_proc($8FA99242CDD481A6,@ps4_sceGnmRegisterOwnerForSystem);
|
||||
|
||||
libGnm_init:=2; //end load
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user