Hackery to free up RAM (sceKernelMaxFreeMemSize lies a bit more, kill root stack)
This commit is contained in:
parent
040b6199b7
commit
b24511ac41
3 changed files with 25 additions and 8 deletions
|
@ -366,7 +366,7 @@ public:
|
|||
void sceKernelMaxFreeMemSize()
|
||||
{
|
||||
// TODO: Fudge factor improvement
|
||||
u32 retVal = userMemory.GetLargestFreeBlockSize()-0x8000;
|
||||
u32 retVal = userMemory.GetLargestFreeBlockSize()-0x40000;
|
||||
DEBUG_LOG(HLE,"%08x (dec %i)=sceKernelMaxFreeMemSize",retVal,retVal);
|
||||
RETURN(retVal);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue