mirror of https://github.com/red-prig/fpPS4.git
This commit is contained in:
parent
617dcc492f
commit
6e4d6b60c9
|
@ -355,7 +355,9 @@ end;
|
|||
|
||||
function ps4_sceKernelGetDirectMemorySize:Int64; SysV_ABI_CDecl;
|
||||
begin
|
||||
Result:=SCE_KERNEL_MAIN_DMEM_SIZE-(448*1024*1024);
|
||||
//5184 MiB - 512 MiB
|
||||
Result:=(5184*1024*1024)-(512*1024*1024);
|
||||
//Result:=SCE_KERNEL_MAIN_DMEM_SIZE-(448*1024*1024);
|
||||
end;
|
||||
|
||||
function ps4_getpagesize:Integer; SysV_ABI_CDecl;
|
||||
|
|
|
@ -672,18 +672,12 @@ end;
|
|||
|
||||
function ps4_scePthreadEqual(t1,t2:pthread):Integer; SysV_ABI_CDecl;
|
||||
begin
|
||||
if (t1=t2) then
|
||||
Result:=1
|
||||
else
|
||||
Result:=0;
|
||||
Result:=px2sce(ps4_pthread_equal(t1,t2));
|
||||
end;
|
||||
|
||||
function ps4_pthread_equal(t1,t2:pthread):Integer; SysV_ABI_CDecl;
|
||||
begin
|
||||
if (t1=t2) then
|
||||
Result:=1
|
||||
else
|
||||
Result:=0;
|
||||
Result:=ord(t1=t2);
|
||||
end;
|
||||
|
||||
procedure ps4_scePthreadExit(value_ptr:Pointer); SysV_ABI_CDecl;
|
||||
|
|
|
@ -110,7 +110,7 @@ begin
|
|||
Result:=(Addr-pAlign);
|
||||
|
||||
Addr:=pAlign;
|
||||
Size:=Max(Size+Result,mr.size);
|
||||
Size:=Size+Result;
|
||||
end;
|
||||
|
||||
function _is_sparce(Addr:Pointer;Size:TVkDeviceSize;usage:TVkFlags):Integer;
|
||||
|
|
Loading…
Reference in New Issue