libSceGnmDriverResourceRegistration: sceGnmFindResources, sceGnmGetResourceRegistrationBuffers, sceGnmRegisterOwnerForSystem

This commit is contained in:
red-prig 2024-02-05 21:03:06 +03:00
parent daa2ecbbad
commit 2d97b84dc2

View File

@ -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;