mirror of
https://github.com/red-prig/fpPS4.git
synced 2024-11-23 06:19:57 +00:00
+
This commit is contained in:
parent
32c587fe7f
commit
5a5d8b2c07
@ -941,6 +941,7 @@ begin
|
||||
lib^.set_proc($93E017AAEDBF7817,@ps4_getpagesize);
|
||||
lib^.set_proc($A4EF7A4F0CCE9B91,@ps4_sceKernelGetDirectMemorySize);
|
||||
lib^.set_proc($68DCF5D5F9E7CE2E,@ps4_sceKernelAvailableFlexibleMemorySize);
|
||||
lib^.set_proc($9F5FEFE85814ECC4,@ps4_sceKernelConfiguredFlexibleMemorySize);
|
||||
|
||||
lib^.set_proc($AD35F0EB9C662C80,@ps4_sceKernelAllocateDirectMemory);
|
||||
lib^.set_proc($07EBDCD803B666B7,@ps4_sceKernelAllocateMainDirectMemory);
|
||||
|
@ -86,6 +86,7 @@ type
|
||||
function ps4_sceKernelGetDirectMemorySize:Int64; SysV_ABI_CDecl;
|
||||
function ps4_getpagesize:Integer; SysV_ABI_CDecl;
|
||||
function ps4_sceKernelAvailableFlexibleMemorySize(sizeOut:PQWORD):Integer; SysV_ABI_CDecl;
|
||||
function ps4_sceKernelConfiguredFlexibleMemorySize(sizeOut:PQWORD):Integer; SysV_ABI_CDecl;
|
||||
|
||||
//direct
|
||||
|
||||
@ -383,6 +384,13 @@ begin
|
||||
sizeOut^:=flex;
|
||||
end;
|
||||
|
||||
function ps4_sceKernelConfiguredFlexibleMemorySize(sizeOut:PQWORD):Integer; SysV_ABI_CDecl;
|
||||
begin
|
||||
Result:=0;
|
||||
if (sizeOut=nil) then Exit(SCE_KERNEL_ERROR_EINVAL);
|
||||
sizeOut^:=SceKernelFlexibleMemorySize;
|
||||
end;
|
||||
|
||||
function _test_mtype(mtype:Integer):Boolean; inline;
|
||||
begin
|
||||
Case mtype of
|
||||
|
Loading…
Reference in New Issue
Block a user