From 47db79536bf15bef7405061a34388ed968326c63 Mon Sep 17 00:00:00 2001 From: red-prig Date: Fri, 18 Nov 2022 22:54:04 +0300 Subject: [PATCH] + --- ps4_elf.pas | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/ps4_elf.pas b/ps4_elf.pas index edbb1c42..3f6cf12d 100644 --- a/ps4_elf.pas +++ b/ps4_elf.pas @@ -69,20 +69,21 @@ type PSceLibcParam=^TSceLibcParam; TSceLibcParam=packed record Size:QWORD; - Unknown1:QWORD; //10000000c + entry_count:DWORD; //0xc + SceLibcInternalHeap:DWORD; //1 //(entry_count > 1) sceLibcHeapSize:PDWORD; sceLibcHeapDelayedAlloc:PDWORD; sceLibcHeapExtendedAlloc:PDWORD; sceLibcHeapInitialSize:PDWORD; _sceLibcMallocReplace:PsceLibcMallocReplace; _sceLibcNewReplace:PsceLibcNewReplace; - sceLibcHeapHighAddressAlloc:PQWORD; + sceLibcHeapHighAddressAlloc:PQWORD; //(entry_count > 2) Need_sceLibc:PDWORD; - sceLibcHeapMemoryLock:PQWORD; + sceLibcHeapMemoryLock:PQWORD; //(entry_count > 4) sceKernelInternalMemorySize:PQWORD; _sceLibcMallocReplaceForTls:PsceLibcMallocReplaceForTls; - Unknown2:QWORD; - sceLibcHeapDebugFlags:PQWORD; + sceLibcMaxSystemSize:PQWORD; //The maximum amount of the memory areas for the mspace. min:0x1000000 + sceLibcHeapDebugFlags:PQWORD; //(entry_count > 8) sceLibcStdThreadStackSize:PDWORD; Unknown3:QWORD; sceKernelInternalMemoryDebugFlags:PDWORD;